Skip to content

Commit

Permalink
Fix build. (qmk#9163)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored and turky committed Jun 13, 2020
1 parent b8528fe commit f913170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantum/split_common/split_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f913170

Please sign in to comment.