add more stable max index checks
This commit is contained in:
1 parent
b7e7f0f720
commit
d443e069fd
1 file changed
+4
-1
@@ -412,7 +412,10 @@ namespace clockManager {
|
||||
|
||||
board::SetHz((HocClkModule)module, nearestHz);
|
||||
gContext.freqs[module] = nearestHz;
|
||||
gContext.stable.freqs[module] = nearestHz;
|
||||
|
||||
if (module < HocClkModuleStable_EnumMax) {
|
||||
gContext.stable.freqs[module] = nearestHz;
|
||||
}
|
||||
|
||||
if (module == HocClkModule_CPU && config::GetConfigValue(HocClkConfigValue_LiveCpuUv)) {
|
||||
HandleCpuUv();
|
||||
|
||||
Reference in new issue
Block a user