core: Fix for ChibiOS update #411
This commit is contained in:
parent
8727b9645f
commit
d5689296ab
@ -1033,7 +1033,7 @@ void init_usb_driver(USBDriver *usbp) {
|
|||||||
|
|
||||||
chVTObjectInit(&keyboard_idle_timer);
|
chVTObjectInit(&keyboard_idle_timer);
|
||||||
#ifdef CONSOLE_ENABLE
|
#ifdef CONSOLE_ENABLE
|
||||||
obqObjectInit(&console_buf_queue, console_queue_buffer, CONSOLE_EPSIZE, CONSOLE_QUEUE_CAPACITY, console_queue_onotify, (void*)usbp);
|
obqObjectInit(&console_buf_queue, true, console_queue_buffer, CONSOLE_EPSIZE, CONSOLE_QUEUE_CAPACITY, console_queue_onotify, (void*)usbp);
|
||||||
chVTObjectInit(&console_flush_timer);
|
chVTObjectInit(&console_flush_timer);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user