-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
Fix timerAttachInterrupt() and timerDetachInterrupt() in esp32-hal-timer.c #6763
Conversation
@P-R-O-C-H-Y good timing on the timer ci test |
Was waiting for the test merge to add the label hil_test there :D |
@me-no-dev may I ask what is probably a stupid, but genuine question? :) |
@sweetlilmre I updated your branch to have the new changes in our master, which include timer hardware testing. It is more or less rebasing to the upstream master |
@Ouss4 Any clue why the bot didn't show up? :( |
I talked with Honza regarding this. I see that the Workflow wasn't triggered at all. The only thing that's different here is that the OP is a "First time contributor". Github introduced few months ago an approval step required for this situation, I'm not sure how this works for Note, that the tests did run and succeeded, it's only the workflow that adds the comment with the summary that didn't run. |
Is there anything I can do to help? |
@Ouss4 it looks like my upstream fetch has kicked in the approval behaviour. |
@sweetlilmre |
@P-R-O-C-H-Y I am excited! :) |
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 for your PR 👍
Please look on comments I made. After fixing these logs, it can be merged :)
@P-R-O-C-H-Y All requested changes have been made :) |
Thanks @sweetlilmre ! Merged :) |
Fantastic! Thank you everyone :) |
Description of Change
This PR fixes the timerAttachInterrupt() and timerDetachInterrupt() functions in esp32-hal-timer.c.
In timerAttachInterrupt() the change:
Note: to handle the ISR function wrapping a default ISR handler function has been added.
In timerDetachInterrupt() the change:
Note: the log message in timerBegin() was also reworded.
Tests scenarios
I have tested my Pull Request on Arduino-esp32 core master with an ESP32 Board with this scenario
Related links
Related issue: #6730
Closes #6730