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

workaround: async call handling to prevent GX12 switch lockups #5949

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

3djc
Copy link
Collaborator

@3djc 3djc commented Feb 26, 2025

First, I would like to thanks Radiomaster devs for their investigation and contribution to bring to surface this issue. Great work guys.

Bottom line is that we have an issue with async call handling based on xTimerPendFunctionCallFromISR(). We need some time to understand why we have that issue.

In the meantime, this workaround allows the switch to be read even if the call to xTimerPendFunctionCallFromISR() was not successful.

Another part of EdgeTX relying heavily on xTimerPendFunctionCallFromISR() is telemetry handling, but the protocol is handling it so this is not critical, so the workaround is not applied there.

@3djc 3djc added bug 🪲 Something isn't working blocks-release Releases shouldn't go out without this fix firmware General radio firmware issue, not colorlcd or B&W specific labels Feb 26, 2025
@3djc 3djc requested a review from raphaelcoeffic February 26, 2025 11:03
@pfeerick pfeerick added the partner Something specifically requested by a sponsor/partner label Feb 26, 2025
@3djc
Copy link
Collaborator Author

3djc commented Feb 26, 2025

nb: the underlying issue is not RM radio related, we have failure xTimerPendFunctionCallFromISR() in all radio, but in place where it is less obvious to see, like per10ms or telemetry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocks-release Releases shouldn't go out without this fix bug 🪲 Something isn't working firmware General radio firmware issue, not colorlcd or B&W specific partner Something specifically requested by a sponsor/partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants