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

[BUG] If a timeout assert loop using mcu_millis is called inside an ISR the program stalls #616

Closed
Paciente8159 opened this issue Feb 12, 2024 · 0 comments · Fixed by #619
Labels
bug Something isn't working HAL: multi platform HAL: multi platform

Comments

@Paciente8159
Copy link
Owner

Describe the bug
If a timeout assert using mcu_millis is called inside and ISR the program stalls. An example of this is calling an communication function that has a timeout check, inside the ISR. The millis are no longer updated and if the external device does not respond this leads to a stall.

What is your hardware
All

What was the GCode running
N/A

Screenshots
N/A

Additional context
Timeout asserting needs to be changed to an ISR independent strategy.

@Paciente8159 Paciente8159 added bug Something isn't working HAL: multi platform HAL: multi platform labels Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working HAL: multi platform HAL: multi platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant