add more stable max index checks
This commit is contained in:
@@ -412,7 +412,10 @@ namespace clockManager {
|
|||||||
|
|
||||||
board::SetHz((HocClkModule)module, nearestHz);
|
board::SetHz((HocClkModule)module, nearestHz);
|
||||||
gContext.freqs[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)) {
|
if (module == HocClkModule_CPU && config::GetConfigValue(HocClkConfigValue_LiveCpuUv)) {
|
||||||
HandleCpuUv();
|
HandleCpuUv();
|
||||||
|
|||||||
Reference in New Issue
Block a user