diff options
author | Nick Brassel <nick@tzarc.org> | 2021-02-28 09:33:33 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-28 09:33:33 +1100 |
commit | 66237441723b8dcaae50230257b2bf6efaea9292 (patch) | |
tree | f0839fe9e764dbd3ae91f48c50c21b5f854559a3 /tmk_core | |
parent | e2d3cefc953045cd4abe5e3d1d2fc8c7c3062375 (diff) |
Fix build for attiny85-based boards. (#12044)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/protocol/vusb/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/protocol/vusb/main.c b/tmk_core/protocol/vusb/main.c index 4095979e93..4d7be51e41 100644 --- a/tmk_core/protocol/vusb/main.c +++ b/tmk_core/protocol/vusb/main.c @@ -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(); @@ -90,6 +91,7 @@ static void vusb_wakeup(void) { sleep_led_disable(); #endif } +#endif /** \brief Setup USB * |