diff options
author | sol <1731279+s-ol@users.noreply.github.com> | 2020-10-01 20:17:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-02 04:17:03 +1000 |
commit | 01d2a03258df465a7efcf33d9cc6f1751967c29a (patch) | |
tree | 12c4b27ee264e3e37cd2c627be49498bd8141758 /quantum/split_common | |
parent | 1960e250485d4036623a045dd601e01343cafdd5 (diff) |
Fix SPLIT_KEYBOARD compilation for ATMega*U2, which doesn't have VBUS/OTG control (#10460)
Co-authored-by: s-ol <s-ol@users.noreply.github.com>
Diffstat (limited to 'quantum/split_common')
-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 90735eda44..e8e944d710 100644 --- a/quantum/split_common/split_util.c +++ b/quantum/split_common/split_util.c @@ -72,7 +72,7 @@ bool usbIsActive(void) { return false; } -#elif defined(PROTOCOL_LUFA) +#elif defined(PROTOCOL_LUFA) && defined(OTGPADE) static inline bool usbIsActive(void) { USB_OTGPAD_On(); // enables VBUS pad wait_us(5); |