diff options
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r-- | firmware/backlight.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c index bf88cbe9bc..4e76072822 100644 --- a/firmware/backlight.c +++ b/firmware/backlight.c | |||
@@ -618,12 +618,13 @@ static void backlight_tick(void) | |||
618 | 618 | ||
619 | void backlight_init(void) | 619 | void backlight_init(void) |
620 | { | 620 | { |
621 | queue_init(&backlight_queue); | 621 | queue_init(&backlight_queue, true); |
622 | #ifdef X5_BACKLIGHT_SHUTDOWN | 622 | #ifdef X5_BACKLIGHT_SHUTDOWN |
623 | backlight_thread_id = | 623 | backlight_thread_id = |
624 | #endif | 624 | #endif |
625 | create_thread(backlight_thread, backlight_stack, | 625 | create_thread(backlight_thread, backlight_stack, |
626 | sizeof(backlight_stack), backlight_thread_name); | 626 | sizeof(backlight_stack), backlight_thread_name |
627 | IF_PRIO(, PRIORITY_SYSTEM)); | ||
627 | tick_add_task(backlight_tick); | 628 | tick_add_task(backlight_tick); |
628 | #ifdef SIMULATOR | 629 | #ifdef SIMULATOR |
629 | /* do nothing */ | 630 | /* do nothing */ |