diff --git a/nyx/nyx_gui/frontend/gui.c b/nyx/nyx_gui/frontend/gui.c index a89d1b4..765193c 100644 --- a/nyx/nyx_gui/frontend/gui.c +++ b/nyx/nyx_gui/frontend/gui.c @@ -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. } } diff --git a/nyx/nyx_gui/frontend/gui_options.h b/nyx/nyx_gui/frontend/gui_options.h index 304e4a4..9c9f7ef 100644 --- a/nyx/nyx_gui/frontend/gui_options.h +++ b/nyx/nyx_gui/frontend/gui_options.h @@ -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);