core: Fix for ChibiOS update #411
[tmk_keyboard.git] / tmk_core / protocol / chibios / usb_main.c
index fbf0ceba2bec6d5b7f998be788d9b731cecca63a..e8f103a2a72a34db1cc95208d976eb2d8fb917ac 100644 (file)
@@ -1033,7 +1033,7 @@ void init_usb_driver(USBDriver *usbp) {
 
   chVTObjectInit(&keyboard_idle_timer);
 #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);
 #endif
 }
Imprint / Impressum