bugfix(esp_hw_support): allow reject for lightsleep

This commit is contained in:
wuzhenghui 2023-11-07 11:10:14 +08:00
parent b6fa48e3b9
commit 263a27b26b

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,