From 228737d9785cb3fc27b0c337cbc658d270e71e90 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 75d2f9726c..8090fe8521 100644 --- a/components/esp_hw_support/include/esp_sleep.h +++ b/components/esp_hw_support/include/esp_sleep.h @@ -69,7 +69,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