Merge branch 'bugfix/allow_sleep_reject_for_lightsleep' into 'release/v5.1'

bugfix(esp_hw_support): allow reject for lightsleep (backport v5.1)

See merge request espressif/esp-idf!26971
This commit is contained in:
Jiang Jiang Jian 2023-11-09 14:04:07 +08:00
commit 97aa5781f9

View File

@ -928,7 +928,7 @@ static esp_err_t esp_light_sleep_inner(uint32_t pd_flags,
#endif
// Enter sleep
esp_err_t reject = esp_sleep_start(pd_flags, ESP_SLEEP_MODE_LIGHT_SLEEP, false);
esp_err_t reject = esp_sleep_start(pd_flags, ESP_SLEEP_MODE_LIGHT_SLEEP, true);
#if SOC_CONFIGURABLE_VDDSDIO_SUPPORTED
// If VDDSDIO regulator was controlled by RTC registers before sleep,