Boost mode: Cpu voltage bug workaround

This commit is contained in:
Lightos1
2026-02-20 16:53:30 +01:00
parent 272eaed351
commit 82972127a1

View File

@@ -790,6 +790,10 @@ void ClockManager::SetClocks(bool isBoost) {
std::uint32_t nearestHz = 0;
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
}