mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 18:06:40 +00:00
nyx: Reduce idle power draw by 280mW
This commit is contained in:
parent
a2655912d4
commit
5790c585f5
2 changed files with 6 additions and 1 deletions
|
@ -2258,7 +2258,11 @@ void nyx_load_and_run()
|
|||
|
||||
while (true)
|
||||
{
|
||||
minerva_change_freq(FREQ_1600); // Takes 295us.
|
||||
|
||||
lv_task_handler();
|
||||
bpmp_usleep(HALT_COP_MAX_CNT);
|
||||
|
||||
minerva_change_freq(FREQ_800); // Takes 80us. Saves 280mW.
|
||||
//bpmp_usleep(HALT_COP_MAX_CNT); // Taskes 200us. Saves 75mW.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
void nyx_options_clear_ini_changes_made();
|
||||
bool nyx_options_get_ini_changes_made();
|
||||
void first_time_clock_edit(void *param);
|
||||
lv_res_t create_win_nyx_options(lv_obj_t *parrent_btn);
|
||||
void create_tab_options(lv_theme_t *th, lv_obj_t *parent);
|
||||
|
||||
|
|
Loading…
Reference in a new issue