Disabling of unneccessary DIMM DETECTOR is backwards.
This commit is contained in:
parent
a18ef1ad3a
commit
90b21fd977
1 changed files with 3 additions and 3 deletions
|
|
@ -1925,10 +1925,10 @@ bool ResourceManager::IsAnyDimmDetectorEnabled(json &detector_settings)
|
||||||
| Check if this detector is enabled |
|
| Check if this detector is enabled |
|
||||||
\*-------------------------------------------------*/
|
\*-------------------------------------------------*/
|
||||||
if(detector_settings.contains("detectors") && detector_settings["detectors"].contains(detection_string) &&
|
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue