1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-11-22 18:06:40 +00:00

nyx: lower launch priority for ums boot

This fixes the backlight not being dimmed if UMS is launched from boot
This commit is contained in:
CTCaer 2021-08-28 20:08:08 +03:00
parent d8d32f7932
commit 9363494c3f

View file

@ -2218,7 +2218,7 @@ static void _nyx_main_menu(lv_theme_t * th)
if (nyx_str->cfg & NYX_CFG_UMS)
{
nyx_str->cfg &= ~(NYX_CFG_UMS);
lv_task_t *task_run_ums = lv_task_create(nyx_run_ums, LV_TASK_ONESHOT, LV_TASK_PRIO_MID, (void *)&nyx_str->cfg);
lv_task_t *task_run_ums = lv_task_create(nyx_run_ums, LV_TASK_ONESHOT, LV_TASK_PRIO_LOWEST, (void *)&nyx_str->cfg);
lv_task_once(task_run_ums);
}
else if (n_cfg.home_screen)