From 9a6f0873fb7c651041561f8698ca783e09989a1d Mon Sep 17 00:00:00 2001 From: zvecr Date: Wed, 13 Mar 2024 00:40:27 +0000 Subject: [PATCH] format --- tmk_core/protocol/chibios/usb_endpoints.h | 1 - tmk_core/protocol/vusb/protocol.c | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) 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