Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test validity of wakeup pin for ESP32 deep sleep #2368

Merged
merged 1 commit into from
May 11, 2023

Conversation

cwilling
Copy link
Contributor

PR #2358 added wakeup from deep sleep by setting a GPIO pin. However not all GPIOs are valid wakeup pins and could result in a deep sleep without any way to wake up. This PR attempts to ensure that only a valid RTC GPIO is selected before sending the device into deep sleep.

@gfwilliams
Copy link
Member

Looks great - thanks!

@gfwilliams gfwilliams merged commit 9a51cff into espruino:master May 11, 2023
@cwilling cwilling deleted the validRTC branch May 11, 2023 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants