diff options
Diffstat (limited to 'tmk_core/common')
| -rw-r--r-- | tmk_core/common/avr/suspend.c | 1 | ||||
| -rw-r--r-- | tmk_core/common/suspend.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tmk_core/common/avr/suspend.c b/tmk_core/common/avr/suspend.c index 9db0e0064..b784a0835 100644 --- a/tmk_core/common/avr/suspend.c +++ b/tmk_core/common/avr/suspend.c | |||
| @@ -102,7 +102,6 @@ static void power_down(uint8_t wdto) { | |||
| 102 | # if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) | 102 | # if defined(RGBLIGHT_SLEEP) && defined(RGBLIGHT_ENABLE) |
| 103 | rgblight_suspend(); | 103 | rgblight_suspend(); |
| 104 | # endif | 104 | # endif |
| 105 | suspend_power_down_kb(); | ||
| 106 | 105 | ||
| 107 | // TODO: more power saving | 106 | // TODO: more power saving |
| 108 | // See PicoPower application note | 107 | // See PicoPower application note |
diff --git a/tmk_core/common/suspend.h b/tmk_core/common/suspend.h index 766df95aa..9d17d984e 100644 --- a/tmk_core/common/suspend.h +++ b/tmk_core/common/suspend.h | |||
| @@ -12,3 +12,7 @@ void suspend_wakeup_init_user(void); | |||
| 12 | void suspend_wakeup_init_kb(void); | 12 | void suspend_wakeup_init_kb(void); |
| 13 | void suspend_power_down_user(void); | 13 | void suspend_power_down_user(void); |
| 14 | void suspend_power_down_kb(void); | 14 | void suspend_power_down_kb(void); |
| 15 | |||
| 16 | #ifndef USB_SUSPEND_WAKEUP_DELAY | ||
| 17 | # define USB_SUSPEND_WAKEUP_DELAY 200 | ||
| 18 | #endif | ||
