deep_sleep: RTC-GPIO pin calculation incorrect
Merges https://github.com/espressif/esp-idf/pull/822
This commit is contained in:
parent
c61b3e89f1
commit
eb8bd937c6
|
@ -327,7 +327,7 @@ uint64_t esp_deep_sleep_get_ext1_wakeup_status()
|
||||||
if ((status & BIT(rtc_pin)) == 0) {
|
if ((status & BIT(rtc_pin)) == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
gpio_mask |= BIT(gpio);
|
gpio_mask |= 1ULL << gpio;
|
||||||
}
|
}
|
||||||
return gpio_mask;
|
return gpio_mask;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue