Browse Source

core: Fix for ChibiOS update #411

master
tmk 7 years ago
parent
commit
d5689296ab
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tmk_core/protocol/chibios/usb_main.c

+ 1
- 1
tmk_core/protocol/chibios/usb_main.c View File



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…
Cancel
Save