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

Avoid race condition during interrupt attachment #35

Merged

Conversation

Flole998
Copy link
Contributor

@Flole998 Flole998 commented Jan 4, 2023

We used to attach first and then register our interrupt with the SPI library. In between these steps an interrupt could occur causing issues. So we should first register it with the SPI library and then attach it.

We used to attach first and then register our interrupt with the SPI library. In between these steps an interrupt could occur causing issues. So we should first register it with the SPI library and then attach it.
@pierremolinaro pierremolinaro merged commit e583883 into pierremolinaro:master Aug 14, 2023
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