From 263a27b26b0a5d17c880207a504e5c42efa224ac Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Tue, 7 Nov 2023 11:10:14 +0800 Subject: [PATCH] bugfix(esp_hw_support): allow reject for lightsleep --- components/esp_hw_support/sleep_modes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/sleep_modes.c b/components/esp_hw_support/sleep_modes.c index f6121e12fc..d8d2e7b8ed 100644 --- a/components/esp_hw_support/sleep_modes.c +++ b/components/esp_hw_support/sleep_modes.c @@ -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,