From bd2d70ca0b3e7f98965da19a3dfa616316354c7a Mon Sep 17 00:00:00 2001 From: Cao Sen Miao Date: Wed, 4 Nov 2020 10:47:40 +0800 Subject: [PATCH] ulp risc_v: fix bug about bit for wakeup trigger --- components/esp_system/sleep_modes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_system/sleep_modes.c b/components/esp_system/sleep_modes.c index e6fd9136c5..523a21b592 100644 --- a/components/esp_system/sleep_modes.c +++ b/components/esp_system/sleep_modes.c @@ -117,7 +117,7 @@ typedef struct { esp_sleep_pd_option_t pd_options[ESP_PD_DOMAIN_MAX]; uint64_t sleep_duration; - uint32_t wakeup_triggers : 11; + uint32_t wakeup_triggers : 15; uint32_t ext1_trigger_mode : 1; uint32_t ext1_rtc_gpio_mask : 18; uint32_t ext0_trigger_level : 1;