Browse Source

Merge remote-tracking branch 'origin/develop' into xap

QMK Bot 1 day ago
parent
commit
bb15e4ad47
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tmk_core/protocol/usb_descriptor.h

+ 1 - 1
tmk_core/protocol/usb_descriptor.h

@@ -47,7 +47,7 @@
 
 
 #ifdef PROTOCOL_CHIBIOS
 #ifdef PROTOCOL_CHIBIOS
 #    include <hal.h>
 #    include <hal.h>
-#    if STM32_USB_USE_OTG1 == TRUE
+#    if STM32_USB_USE_OTG1 == TRUE || STM32_USB_USE_OTG2 == TRUE
 #        define USB_ENDPOINTS_ARE_REORDERABLE
 #        define USB_ENDPOINTS_ARE_REORDERABLE
 #    endif
 #    endif
 #endif
 #endif