This is an automated email from the ASF dual-hosted git repository.
simbit18 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 50fb11492c5 arch/risc-v/espressif: Fix auto light sleep enable flag
50fb11492c5 is described below
commit 50fb11492c5d3bbc6fd9bf4db7f485632e938fea
Author: Eren Terzioglu <[email protected]>
AuthorDate: Mon Apr 20 10:47:27 2026 +0200
arch/risc-v/espressif: Fix auto light sleep enable flag
Fix auto light sleep enable flag
Signed-off-by: Eren Terzioglu <[email protected]>
---
arch/risc-v/src/common/espressif/esp_pm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/risc-v/src/common/espressif/esp_pm.c
b/arch/risc-v/src/common/espressif/esp_pm.c
index 0bd28b90dfa..9ee082a8ce9 100644
--- a/arch/risc-v/src/common/espressif/esp_pm.c
+++ b/arch/risc-v/src/common/espressif/esp_pm.c
@@ -895,7 +895,7 @@ int esp_pmconfigure(void)
.min_freq_mhz = CONFIG_ESPRESSIF_CPU_FREQ_MHZ,
#endif
#ifdef CONFIG_ESPRESSIF_AUTO_SLEEP
- .light_sleep_enable = false
+ .light_sleep_enable = true
#endif
};