Skip to content

Commit

Permalink
Fixup #15029 (#15031)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored Nov 2, 2021
1 parent 634e42b commit 387edab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmk_core/protocol/chibios/chibios.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ void protocol_setup(void) {
// chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
}

static host_driver_t *driver = NULL;

void protocol_pre_init(void) {
/* Init USB */
usb_event_queue_init();
Expand All @@ -149,8 +151,6 @@ void protocol_pre_init(void) {
setup_midi();
#endif

host_driver_t *driver = NULL;

/* Wait until USB is active */
while (true) {
#if defined(WAIT_FOR_USB)
Expand Down

0 comments on commit 387edab

Please sign in to comment.