We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37295ad commit 9a04b66Copy full SHA for 9a04b66
Controllers/ZotacV2GPUController/RGBController_ZotacV2GPU.cpp
@@ -53,15 +53,8 @@ RGBController_ZotacV2GPU::RGBController_ZotacV2GPU(ZotacV2GPUController* control
53
location = controller->GetDeviceLocation();
54
type = DEVICE_TYPE_GPU;
55
56
- try
57
- {
58
- config = ZOTAC_V2_GPU_CONFIG.at(controller->GetVersion());
59
- }
60
- catch(std::out_of_range)
61
62
- LOG_ERROR("No zone config found for %s", version.c_str());
63
- config = ZotacV2GPUConfig();
64
+ config = ZOTAC_V2_GPU_CONFIG.at(controller->GetVersion());
+
65
version += std::to_string(config.numberOfZones) + " zones, "
66
+ (config.supportsExternalLEDStrip ? "with" : "without") + " external LED strip support";
67
0 commit comments