1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-24 21:16:19 +00:00

Setting minerva periodic training task ready

System status bar is not yet declared at this point, so the task that should be flagged as ready is minerva periodic training.
This commit is contained in:
Guillem Orellana Trullols 2019-08-19 15:27:30 +02:00 committed by GitHub
parent 6ec871ad5f
commit 03130ad900

View File

@ -2047,7 +2047,7 @@ static void _nyx_main_menu(lv_theme_t * th)
// Create tasks. // Create tasks.
system_tasks.task.dram_periodic_comp = lv_task_create(minerva_periodic_training, 500, LV_TASK_PRIO_HIGHEST, NULL); system_tasks.task.dram_periodic_comp = lv_task_create(minerva_periodic_training, 500, LV_TASK_PRIO_HIGHEST, NULL);
lv_task_ready(system_tasks.task.status_bar); lv_task_ready(system_tasks.task.dram_periodic_comp);
system_tasks.task.status_bar = lv_task_create(_update_status_bar, 5000, LV_TASK_PRIO_LOW, NULL); system_tasks.task.status_bar = lv_task_create(_update_status_bar, 5000, LV_TASK_PRIO_LOW, NULL);
lv_task_ready(system_tasks.task.status_bar); lv_task_ready(system_tasks.task.status_bar);