Skip to content

Commit 7a900ba

Browse files
committed
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 #9567
1 parent dfbebcc commit 7a900ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/esp_hw_support/include/esp_sleep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ typedef enum {
7575
ESP_SLEEP_WAKEUP_TIMER, //!< Wakeup caused by timer
7676
ESP_SLEEP_WAKEUP_TOUCHPAD, //!< Wakeup caused by touchpad
7777
ESP_SLEEP_WAKEUP_ULP, //!< Wakeup caused by ULP program
78-
ESP_SLEEP_WAKEUP_GPIO, //!< Wakeup caused by GPIO (light sleep only)
78+
ESP_SLEEP_WAKEUP_GPIO, //!< Wakeup caused by GPIO (light sleep only on ESP32, S2 and S3)
7979
ESP_SLEEP_WAKEUP_UART, //!< Wakeup caused by UART (light sleep only)
8080
ESP_SLEEP_WAKEUP_WIFI, //!< Wakeup caused by WIFI (light sleep only)
8181
ESP_SLEEP_WAKEUP_COCPU, //!< Wakeup caused by COCPU int

0 commit comments

Comments
 (0)