Skip to content

Commit

Permalink
Fix CPU freq. not being clocked down when entering inactive mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakkra committed Oct 2, 2023
1 parent 375033f commit 1108985
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/zsw_power_manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static void enter_inactive(void)
retained_update();
display_control_sleep_ctrl(false);

zsw_cpu_set_freq(ZSW_CPU_FREQ_FAST, true);
zsw_cpu_set_freq(ZSW_CPU_FREQ_DEFAULT, true);

// Screen inactive -> wait for NO_MOTION interrupt in order to power off display regulator.
zsw_imu_feature_enable(ZSW_IMU_FEATURE_NO_MOTION, true);
Expand Down

0 comments on commit 1108985

Please sign in to comment.