feat(esp8266): fix CPU light sleep process

This commit is contained in:
Dong Heng
2019-12-16 19:36:36 +08:00
parent 5d72423729
commit 6873eb1d27
2 changed files with 89 additions and 24 deletions

View File

@ -55,6 +55,11 @@ void rtc_init_clk(uint8_t *init_param);
*/
void rtc_lightsleep_init(void);
/**
* @brief Configure CPU sleep mode
*/
void pm_set_sleep_mode(uint32_t mode);
/**
* @brief Initialize hardware when CPU wakes up from light sleep
*/