From: tmk Date: Fri, 2 Dec 2016 01:11:46 +0000 (+0900) Subject: core: Fix for ChibiOS update #411 X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=d5689296abf15f2a5210f1dbf2c13f6dc1d9926d;p=max%2Ftmk_keyboard.git core: Fix for ChibiOS update #411 --- diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index fbf0ceba..e8f103a2 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c @@ -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 }