Browse Source

Fix wakeup function on ChibiOS (#5707)

Somebody was a very, very bad boy, and did a poor job of copy-pasting
Drashna Jaelre 6 years ago
parent
commit
90cd383d46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tmk_core/common/chibios/suspend.c

+ 1 - 1
tmk_core/common/chibios/suspend.c

@@ -82,7 +82,7 @@ void suspend_wakeup_init_user(void) { }
  */
 __attribute__ ((weak))
 void suspend_wakeup_init_kb(void) {
-  suspend_power_down_user();
+  suspend_wakeup_init_user();
 }
 
 /** \brief suspend wakeup condition