diff options
Diffstat (limited to 'firmware/usb.c')
-rw-r--r-- | firmware/usb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/usb.c b/firmware/usb.c index 6be5fda093..0be6c4011e 100644 --- a/firmware/usb.c +++ b/firmware/usb.c | |||
@@ -558,8 +558,9 @@ void usb_init(void) | |||
558 | last_usb_status = false; | 558 | last_usb_status = false; |
559 | 559 | ||
560 | #ifndef BOOTLOADER | 560 | #ifndef BOOTLOADER |
561 | queue_init(&usb_queue); | 561 | queue_init(&usb_queue, true); |
562 | create_thread(usb_thread, usb_stack, sizeof(usb_stack), usb_thread_name); | 562 | create_thread(usb_thread, usb_stack, sizeof(usb_stack), |
563 | usb_thread_name IF_PRIO(, PRIORITY_SYSTEM)); | ||
563 | 564 | ||
564 | tick_add_task(usb_tick); | 565 | tick_add_task(usb_tick); |
565 | #endif | 566 | #endif |