Merge pull request #280 from Guillem96/patch-1

gui: Fix setting minerva periodic training task ready
This commit is contained in:
CTCaer 2019-08-19 20:33:24 +03:00 committed by GitHub
commit e07dde1c58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2047,7 +2047,7 @@ static void _nyx_main_menu(lv_theme_t * th)
// Create tasks.
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);
lv_task_ready(system_tasks.task.status_bar);