move sleep init at the very end of boot (all must be initialized)

This commit is contained in:
philippe44
2023-09-22 15:27:27 -07:00
parent 72a8fb2249
commit dc9e1191a2
3 changed files with 4 additions and 2 deletions

View File

@@ -14,3 +14,4 @@ typedef enum { SLEEP_ONTIMER, SLEEP_ONKEY, SLEEP_ONGPIO, SLEEP_ONIR, SLEEP_ONBAT
void services_sleep_activate(sleep_cause_e cause);
void services_sleep_setsuspend(void (*hook)(void));
void services_sleep_setsleeper(uint32_t (*sleeper)(void));
void services_sleep_init(void);