diff options
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/protocol/chibios/chibios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/chibios/chibios.c b/tmk_core/protocol/chibios/chibios.c index 5ba21b3f8..41752b213 100644 --- a/tmk_core/protocol/chibios/chibios.c +++ b/tmk_core/protocol/chibios/chibios.c | |||
@@ -140,6 +140,8 @@ void protocol_setup(void) { | |||
140 | // chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); | 140 | // chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); |
141 | } | 141 | } |
142 | 142 | ||
143 | static host_driver_t *driver = NULL; | ||
144 | |||
143 | void protocol_pre_init(void) { | 145 | void protocol_pre_init(void) { |
144 | /* Init USB */ | 146 | /* Init USB */ |
145 | usb_event_queue_init(); | 147 | usb_event_queue_init(); |
@@ -149,8 +151,6 @@ void protocol_pre_init(void) { | |||
149 | setup_midi(); | 151 | setup_midi(); |
150 | #endif | 152 | #endif |
151 | 153 | ||
152 | host_driver_t *driver = NULL; | ||
153 | |||
154 | /* Wait until USB is active */ | 154 | /* Wait until USB is active */ |
155 | while (true) { | 155 | while (true) { |
156 | #if defined(WAIT_FOR_USB) | 156 | #if defined(WAIT_FOR_USB) |