mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-27 19:09:15 -04:00
fixed warning in RGBController_ZotacV2GPU.cpp
This commit is contained in:
1 parent
37295adf6e
commit
9a04b66bec
1 file changed
+2
-9
@@ -53,15 +53,8 @@ RGBController_ZotacV2GPU::RGBController_ZotacV2GPU(ZotacV2GPUController* control
|
||||
location = controller->GetDeviceLocation();
|
||||
type = DEVICE_TYPE_GPU;
|
||||
|
||||
try
|
||||
{
|
||||
config = ZOTAC_V2_GPU_CONFIG.at(controller->GetVersion());
|
||||
}
|
||||
catch(std::out_of_range)
|
||||
{
|
||||
LOG_ERROR("No zone config found for %s", version.c_str());
|
||||
config = ZotacV2GPUConfig();
|
||||
}
|
||||
config = ZOTAC_V2_GPU_CONFIG.at(controller->GetVersion());
|
||||
|
||||
version += std::to_string(config.numberOfZones) + " zones, "
|
||||
+ (config.supportsExternalLEDStrip ? "with" : "without") + " external LED strip support";
|
||||
|
||||
|
||||
Reference in new issue
Block a user