summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-02-27 22:34:01 +0000
committerQMK Bot <hello@qmk.fm>2021-02-27 22:34:01 +0000
commit89936c66b08cb9e86fee678e947d7b759854ea85 (patch)
tree85154d7f243df852694c14e6e5832536547510ed
parent37690f2651c2054877402bee0c492d749d873301 (diff)
parent66237441723b8dcaae50230257b2bf6efaea9292 (diff)
downloadqmk_firmware-89936c66b08cb9e86fee678e947d7b759854ea85.tar.gz
qmk_firmware-89936c66b08cb9e86fee678e947d7b759854ea85.zip
Merge remote-tracking branch 'origin/master' into develop
-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
*