-
Notifications
You must be signed in to change notification settings - Fork 369
Allow pin drivers as wakeup sources #2095
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
Conversation
046eba5 to
71e305f
Compare
|
|
||
| #[doc(hidden)] | ||
| #[macro_export] | ||
| macro_rules! handle_rtcio { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next up, how can I delete these... I'm hoping there is a solution that allows me to factor this as a repeat_erased! and a filter_branches! macro, but I haven't tried anything yet.
d0a9b43 to
38abd6e
Compare
| #[cfg(any(xtensa, esp32c2, esp32c3, esp32c6))] | ||
| impl RtcPin for ErasedPin { | ||
| #[cfg(xtensa)] | ||
| #[allow(unused_braces)] // False positive :/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bjoernQ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - makes things more convenient!
MabezDev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Closes #2020