mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-16 21:51:42 -04:00
Disabling of unneccessary DIMM DETECTOR is backwards.
This commit is contained in:
1 parent
a18ef1ad3a
commit
90b21fd977
1 file changed
+3
-3
+3
-3
@@ -1925,10 +1925,10 @@ bool ResourceManager::IsAnyDimmDetectorEnabled(json &detector_settings)
|
||||
| Check if this detector is enabled |
|
||||
\*-------------------------------------------------*/
|
||||
if(detector_settings.contains("detectors") && detector_settings["detectors"].contains(detection_string) &&
|
||||
detector_settings["detectors"][detection_string] == false)
|
||||
detector_settings["detectors"][detection_string] == true)
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
Reference in new issue
Block a user