summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/vusb/main.c2
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
*