This commit is contained in:
zvecr 2024-03-13 00:40:27 +00:00
parent 517102bae9
commit 9a6f0873fb
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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