aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/chibios/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/chibios/main.c')
-rw-r--r--tmk_core/protocol/chibios/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index 7138b5535..47a7eb09a 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -165,8 +165,8 @@ int main(void) {
165#endif 165#endif
166 suspend_power_down(); // on AVR this deep sleeps for 15ms 166 suspend_power_down(); // on AVR this deep sleeps for 15ms
167 /* Remote wakeup */ 167 /* Remote wakeup */
168 if((USB_DRIVER.status & 2) && suspend_wakeup_condition()) { 168 if(suspend_wakeup_condition()) {
169 send_remote_wakeup(&USB_DRIVER); 169 usbWakeupHost(&USB_DRIVER);
170 } 170 }
171 } 171 }
172 /* Woken up */ 172 /* Woken up */