nyx: Reduce idle power draw by 280mW

This commit is contained in:
CTCaer committed 2020-06-14 13:14:32 +03:00
1 parent a2655912d4
commit 5790c585f5
2 files changed
+6 -1

No files matched your search

+5 -1
View File
@@ -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.
}
}
+1
View File
@@ -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);