From 66237441723b8dcaae50230257b2bf6efaea9292 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Sun, 28 Feb 2021 09:33:33 +1100 Subject: Fix build for attiny85-based boards. (#12044) --- tmk_core/protocol/vusb/main.c | 2 ++ 1 file changed, 2 insertions(+) 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 * -- cgit v1.2.1