mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bugfix(pm): fix esp_sleep_enable_ext1_wakeup func
regression introduced in commit<808a01e65>
This commit is contained in:
parent
7fd92acde8
commit
2d3f95dad4
@ -1426,7 +1426,7 @@ esp_err_t esp_sleep_enable_ext1_wakeup(uint64_t io_mask, esp_sleep_ext1_wakeup_m
|
||||
}
|
||||
s_config.ext1_rtc_gpio_mask = rtc_gpio_mask;
|
||||
if (level_mode) {
|
||||
s_config.ext1_trigger_mode = io_mask;
|
||||
s_config.ext1_trigger_mode = rtc_gpio_mask;
|
||||
} else {
|
||||
s_config.ext1_trigger_mode = 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user