diff options
author | Nick Brassel <nick@tzarc.org> | 2020-05-22 06:25:03 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 06:25:03 +1000 |
commit | fd4f1029771fba4d620ca6cfc9710ccbba421206 (patch) | |
tree | 433e84b8b2db9a3c1c68ba71c5ec2b3defd6ce1b /quantum | |
parent | 6d84795bc1e4b867725e3ddd906af9e125f71e3b (diff) |
Fix build. (#9163)
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/split_common/split_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c index 6f376ab408..dfd06f5f94 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c @@ -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) { |