mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
Merge branch 'bugfix/light_sleep' into 'master'
Light sleep fix See merge request !1303
This commit is contained in:
@@ -197,7 +197,10 @@ static void rtc_wdt_disable()
|
|||||||
* Helper function which handles entry to and exit from light sleep
|
* Helper function which handles entry to and exit from light sleep
|
||||||
* Placed into IRAM as flash may need some time to be powered on.
|
* Placed into IRAM as flash may need some time to be powered on.
|
||||||
*/
|
*/
|
||||||
static esp_err_t IRAM_ATTR esp_light_sleep_inner(uint32_t pd_flags,
|
static esp_err_t esp_light_sleep_inner(uint32_t pd_flags,
|
||||||
|
rtc_cpu_freq_t cpu_freq, uint32_t flash_enable_time_us) IRAM_ATTR __attribute__((noinline));
|
||||||
|
|
||||||
|
static esp_err_t esp_light_sleep_inner(uint32_t pd_flags,
|
||||||
rtc_cpu_freq_t cpu_freq, uint32_t flash_enable_time_us)
|
rtc_cpu_freq_t cpu_freq, uint32_t flash_enable_time_us)
|
||||||
{
|
{
|
||||||
// Enter sleep
|
// Enter sleep
|
||||||
|
Reference in New Issue
Block a user