From 79a82a16fbc0169125125fd4eb4db03f487bc7e9 Mon Sep 17 00:00:00 2001 From: Drashna Jael're Date: Sun, 12 Jul 2026 10:35:01 -0700 Subject: [PATCH] Fix XAP Endpoint to use reorderable define rather than stm-otg1 define --- tmk_core/protocol/usb_descriptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h index 33fc4001ea8..8d74e3dea94 100644 --- a/tmk_core/protocol/usb_descriptor.h +++ b/tmk_core/protocol/usb_descriptor.h @@ -299,7 +299,7 @@ enum usb_endpoints { #ifdef XAP_ENABLE XAP_IN_EPNUM = NEXT_EPNUM, -# if STM32_USB_USE_OTG1 +# ifdef USB_ENDPOINTS_ARE_REORDERABLE # define XAP_OUT_EPNUM XAP_IN_EPNUM # else XAP_OUT_EPNUM = NEXT_EPNUM,