~ruther/qmk_firmware

01d2a03258df465a7efcf33d9cc6f1751967c29a — sol 5 years ago 1960e25
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>
1 files changed, 1 insertions(+), 1 deletions(-)

M quantum/split_common/split_util.c
M quantum/split_common/split_util.c => quantum/split_common/split_util.c +1 -1
@@ 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);