1
0
Fork 0
This commit is contained in:
Nick Brassel 2021-11-03 06:54:16 +11:00 committed by GitHub
parent 634e42b2b4
commit 387edab52b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,6 +140,8 @@ void protocol_setup(void) {
// chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); // chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
} }
static host_driver_t *driver = NULL;
void protocol_pre_init(void) { void protocol_pre_init(void) {
/* Init USB */ /* Init USB */
usb_event_queue_init(); usb_event_queue_init();
@ -149,8 +151,6 @@ void protocol_pre_init(void) {
setup_midi(); setup_midi();
#endif #endif
host_driver_t *driver = NULL;
/* Wait until USB is active */ /* Wait until USB is active */
while (true) { while (true) {
#if defined(WAIT_FOR_USB) #if defined(WAIT_FOR_USB)