sysclk: fix logic errors
This commit is contained in:
1 parent
1a42ad1a67
commit
610bf9ad82
5 files changed
+19
-8
No files matched your search
@@ -776,11 +776,9 @@ void ClockManager::SetClocks(bool isBoost) {
|
||||
if(noDisp && module == HorizonOCModule_Display)
|
||||
continue;
|
||||
|
||||
if(module == HorizonOCModule_Display && this->config->GetConfigValue(HorizonOCConfigValue_OverwriteRefreshRate)) {
|
||||
if(module == HorizonOCModule_Display && this->config->GetConfigValue(HorizonOCConfigValue_OverwriteRefreshRate) && !noDisp) {
|
||||
if(targetHz)
|
||||
Board::SetHz(HorizonOCModule_Display, targetHz);
|
||||
else
|
||||
Board::ResetToStockDisplay();
|
||||
}
|
||||
|
||||
// Skip GPU and CPU if governors handle them
|
||||
|
||||
Reference in new issue
Block a user