瀏覽代碼

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
}

Loading…
取消
儲存