Merge branch 'bugfix/ulp_wakeup_trigger' into 'master'

ulp risc_v: fix bug about bit for wakeup trigger

Closes IDF-2298

See merge request espressif/esp-idf!11106
This commit is contained in:
Angus Gratton 2020-11-09 14:57:36 +08:00
commit 0032971311

View File

@ -117,7 +117,7 @@
typedef struct { typedef struct {
esp_sleep_pd_option_t pd_options[ESP_PD_DOMAIN_MAX]; esp_sleep_pd_option_t pd_options[ESP_PD_DOMAIN_MAX];
uint64_t sleep_duration; uint64_t sleep_duration;
uint32_t wakeup_triggers : 11; uint32_t wakeup_triggers : 15;
uint32_t ext1_trigger_mode : 1; uint32_t ext1_trigger_mode : 1;
uint32_t ext1_rtc_gpio_mask : 18; uint32_t ext1_rtc_gpio_mask : 18;
uint32_t ext0_trigger_level : 1; uint32_t ext0_trigger_level : 1;