Skip to content

Commit

Permalink
fix Atmega*U2 compile without USB OTG register
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ol committed Sep 27, 2020
1 parent 4511201 commit f3533a0
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 @@ -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);
Expand Down

0 comments on commit f3533a0

Please sign in to comment.