Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid hang in stdio_set_chars_available_callback
The function is setting the callback after enabing interrupts which can cause a hang if a receive character is already pending. Smilarly we also have to clear the callback pointer only after the interrupt is disabled. Fixes #2009
- Loading branch information