Skip to content

Commit

Permalink
nyx: lower launch priority for ums boot
Browse files Browse the repository at this point in the history
This fixes the backlight not being dimmed if UMS is launched from boot
  • Loading branch information
CTCaer committed Aug 28, 2021
1 parent d8d32f7 commit 9363494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nyx/nyx_gui/frontend/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9363494

Please sign in to comment.