forked from mirrors/qmk_firmware
Fix build. (#9163)
This commit is contained in:
parent
6d84795bc1
commit
fd4f102977
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ volatile bool isLeftHand = true;
|
|||
static inline bool usbHasActiveConnection(void) { return USB_Device_IsAddressSet(); }
|
||||
static inline void usbDisable(void) { USB_Disable(); }
|
||||
# elif defined(PROTOCOL_CHIBIOS)
|
||||
static inline bool usbHasActiveConnection(void) { usbGetDriverStateI(&USBD1) == USB_ACTIVE; }
|
||||
static inline bool usbHasActiveConnection(void) { return usbGetDriverStateI(&USBD1) == USB_ACTIVE; }
|
||||
static inline void usbDisable(void) { usbStop(&USBD1); }
|
||||
# elif defined(PROTOCOL_VUSB)
|
||||
static inline bool usbHasActiveConnection(void) {
|
||||
|
|
Loading…
Reference in a new issue