-
Notifications
You must be signed in to change notification settings - Fork 906
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 T-Deck trackball crashes #2714
Conversation
🤖 Pull request artifacts
|
Just thinking... |
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.
Things are pretty chatty anyway. We should probably go back and cull some logging at some point.
The T-Deck trackball generates a lot of interrupts in a short time which are handled by inputbroker and event observers. Unfortunately, the event mechanism does not decouple the interrupt handler from the processing logic and thus the event is not handled by an own task but by the interrupt handler itself which leads to crashes (especially during print/log statements).
PR changes:
The stack traces show crashes in CannedMessageModule.cpp, PowerFSM.cpp and Screen.cpp :-