mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-24 18:25:01 +06:00
parent
634e42b2b4
commit
387edab52b
@ -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();
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user