mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
feat(esp_hw_support): support GPIO wakeup deepsleep on esp32/esp32s2/esp32s3
and expand gpio_wakeup_mask/gpio_trigger_mode to 64bit
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
void example_deep_sleep_register_gpio_wakeup(void)
|
||||
{
|
||||
const gpio_config_t config = {
|
||||
.pin_bit_mask = BIT(DEFAULT_WAKEUP_PIN),
|
||||
.pin_bit_mask = BIT64(DEFAULT_WAKEUP_PIN),
|
||||
.mode = GPIO_MODE_INPUT,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user