diff --git a/tmk_core/protocol/chibios/usb_endpoints.h b/tmk_core/protocol/chibios/usb_endpoints.h index 8f19cf1b55c..7869e2f25e0 100644 --- a/tmk_core/protocol/chibios/usb_endpoints.h +++ b/tmk_core/protocol/chibios/usb_endpoints.h @@ -51,7 +51,6 @@ # define XAP_OUT_CAPACITY USB_DEFAULT_BUFFER_CAPACITY #endif - #if !defined(MIDI_STREAM_IN_CAPACITY) # define MIDI_STREAM_IN_CAPACITY USB_DEFAULT_BUFFER_CAPACITY #endif diff --git a/tmk_core/protocol/vusb/protocol.c b/tmk_core/protocol/vusb/protocol.c index d78ff04f170..97a4989fb18 100644 --- a/tmk_core/protocol/vusb/protocol.c +++ b/tmk_core/protocol/vusb/protocol.c @@ -181,11 +181,11 @@ void protocol_task(void) { #endif #ifdef XAP_ENABLE - usbPoll(); + usbPoll(); - if (usbConfiguration && usbInterruptIsReady4()) { - xap_task(); - } + if (usbConfiguration && usbInterruptIsReady4()) { + xap_task(); + } #endif #ifdef CONSOLE_ENABLE