mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 03:11:16 +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:
parent
d8d32f7932
commit
9363494c3f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue