fixed warning in RGBController_ZotacV2GPU.cpp
This commit is contained in:
parent
37295adf6e
commit
9a04b66bec
1 changed files with 2 additions and 9 deletions
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue