From 7a900bad7f06a169bb04a8d93d6e30a5a5ca6848 Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Tue, 23 Aug 2022 16:16:43 +0800 Subject: [PATCH] docs: fix documentation wrongly stating ESP_SLEEP_WAKEUP_GPIO is light sleep only ESP_SLEEP_WAKEUP_GPIO is also a valid deep sleep wakeup cause on targets with SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP Closes https://github.com/espressif/esp-idf/issues/9567 --- components/esp_hw_support/include/esp_sleep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_hw_support/include/esp_sleep.h b/components/esp_hw_support/include/esp_sleep.h index 286ccc76de04..3e23c77ce388 100644 --- a/components/esp_hw_support/include/esp_sleep.h +++ b/components/esp_hw_support/include/esp_sleep.h @@ -75,7 +75,7 @@ typedef enum { ESP_SLEEP_WAKEUP_TIMER, //!< Wakeup caused by timer ESP_SLEEP_WAKEUP_TOUCHPAD, //!< Wakeup caused by touchpad ESP_SLEEP_WAKEUP_ULP, //!< Wakeup caused by ULP program - ESP_SLEEP_WAKEUP_GPIO, //!< Wakeup caused by GPIO (light sleep only) + ESP_SLEEP_WAKEUP_GPIO, //!< Wakeup caused by GPIO (light sleep only on ESP32, S2 and S3) ESP_SLEEP_WAKEUP_UART, //!< Wakeup caused by UART (light sleep only) ESP_SLEEP_WAKEUP_WIFI, //!< Wakeup caused by WIFI (light sleep only) ESP_SLEEP_WAKEUP_COCPU, //!< Wakeup caused by COCPU int