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
Remove pointless gpio attach_interrupt overrides #9243
Remove pointless gpio attach_interrupt overrides #9243
Conversation
bb16b7b
to
67f9146
Compare
Just two questions:
|
... amongst our questions are such diverse elements as "what's up with |
Sounds reasonable to me, less reimplemented/cruft in the HAL's is a win as far as I can tell.
Absolutely. That's a terrible behavior to just always return true their, defeats the API, and makes it hard for the caller to safely/sanely handle it. |
It was decided at the devcall that std::swap was OK so long as godbolt approves of it. The HAL behaviour re: attaching interrupts currently sucks, so fix it. pure-virtual isn't an attribute we need in the HAL interface, so kill the pointless overload. |
https://godbolt.org/z/Tk0tqS <- |
67f9146
to
84ac9ab
Compare
This might be contentious. But having all of these empty definitions - which returned true for some strange reason - was painful when I was playing with the attach-a-functor change.