mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 22:49:06 -04:00
[BH-990] Adjist CPU frequency chages
Adjusted Bell frequency low-power mode changes
This commit is contained in:
committed by
Wojciech Rzepecki
parent
a93105d7af
commit
6e69eb6aa6
@@ -670,7 +670,7 @@ namespace sys
|
||||
|
||||
void SystemManagerCommon::UpdateResourcesAfterCpuFrequencyChange(bsp::CpuFrequencyHz newFrequency)
|
||||
{
|
||||
if (newFrequency == bsp::CpuFrequencyHz::Level_1) {
|
||||
if (newFrequency <= bsp::CpuFrequencyHz::Level_1) {
|
||||
purefs::subsystem::disk_mgr()->pm_control(purefs::blkdev::pm_state::suspend);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user