浏览代码

core: Fix for ChibiOS update #411

master
tmk 7 年前
父节点
当前提交
d5689296ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      tmk_core/protocol/chibios/usb_main.c

+ 1
- 1
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
}

正在加载...
取消
保存