Boost mode: Cpu voltage bug workaround
This commit is contained in:
@@ -790,6 +790,10 @@ void ClockManager::SetClocks(bool isBoost) {
|
|||||||
std::uint32_t nearestHz = 0;
|
std::uint32_t nearestHz = 0;
|
||||||
|
|
||||||
if(isBoost && !this->config->GetConfigValue(HocClkConfigValue_OverwriteBoostMode)) {
|
if(isBoost && !this->config->GetConfigValue(HocClkConfigValue_OverwriteBoostMode)) {
|
||||||
|
u32 boostFreq = Board::GetHz(SysClkModule_CPU);
|
||||||
|
if (boostFreq / 1000000 > 1785) {
|
||||||
|
Board::SetHz(SysClkModule_CPU, boostFreq);
|
||||||
|
}
|
||||||
return; // Return if we are't overwriting boost mode
|
return; // Return if we are't overwriting boost mode
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user