From 36024680e4c3c4b72ff0071f8d1f04078183db8a Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Mon, 31 Aug 2026 11:07:30 +0800 Subject: [PATCH] change(esp_driver_gpio): extended API help description for gpio_wakeup_disable interface --- components/esp_driver_gpio/include/driver/gpio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/esp_driver_gpio/include/driver/gpio.h b/components/esp_driver_gpio/include/driver/gpio.h index ff5d452e7c0..3a9bddc7587 100644 --- a/components/esp_driver_gpio/include/driver/gpio.h +++ b/components/esp_driver_gpio/include/driver/gpio.h @@ -203,6 +203,10 @@ esp_err_t gpio_wakeup_enable(gpio_num_t gpio_num, gpio_int_type_t intr_type); /** * @brief Disable GPIO wake-up function. * + * @note When either CONFIG_ESP_SLEEP_GPIO_RESET_WORKAROUND or CONFIG_PM_SLP_DISABLE_GPIO is enabled, + * the sleep-state configuration of `gpio_num` is applied during sleep (and that the user must + * call `gpio_sleep_sel_dis()` again if the pin should stay on the active-state configuration). + * * @param gpio_num GPIO number * * @return