Skip to content

Commit

Permalink
Fix build for attiny85-based boards. (qmk#12044)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc authored Feb 27, 2021
1 parent 7328c7d commit ab5803c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tmk_core/protocol/vusb/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ static void vusb_suspend(void) {
suspend_power_down();
}

#if USB_COUNT_SOF
static void vusb_wakeup(void) {
vusb_suspended = false;
suspend_wakeup_init();
Expand All @@ -90,6 +91,7 @@ static void vusb_wakeup(void) {
sleep_led_disable();
#endif
}
#endif

/** \brief Setup USB
*
Expand Down

0 comments on commit ab5803c

Please sign in to comment.