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

esp32xx: Clear the timer interrupt to avoid losing the next interrupt #7987

Merged
merged 4 commits into from
Dec 28, 2022

Conversation

acassis
Copy link
Contributor

@acassis acassis commented Dec 27, 2022

Summary

The timer interrupt must be cleared before the next interrupt is generated. So it is speculated that a nested event may occur immediately after the execution of ESP32XX_TIM_SETALRM, causing the next interrupt to occur.

Impact

Avoid losing timer interrupts.

Testing

Using devkit boards

@xiaoxiang781216 xiaoxiang781216 merged commit 1b58542 into apache:master Dec 28, 2022
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