-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
CPN W64: simulator crashes on selection of FLYSKY external module #3682
Comments
@raphaelcoeffic The problematic code is your work. Not sure where is the best way to prevent SIMU to crash in your serial API. |
Interesting, cannot repeat this with Linux simulator. It will not crash. |
Able to reproduce on WSL2 with current https://github.com/EdgeTX/edgetx/tree/pfeerick/issue3682 is a tentative fix, until Raphael screams at me it's not the way to fix it 🤭 Code_ENBjNstwRn.mp4 |
Interesting, if this is the problem, I should be able to repeat in Linux sim, obviously a nullptr problem. |
@pfeerick Please check if this PR has problem: @raphaelcoeffic recommended this change and may solve the problem. edgetx/radio/src/hal/module_port.h Lines 147 to 155 in 97f514f
|
Yup, that |
Is there an existing issue for this problem?
What part of EdgeTX is the focus of this bug?
Companion
Current Behavior
W64 simulator crashes if FLYSKY is chosen as external RF module.
Expected Behavior
Don't crash
Steps To Reproduce
Version
Nightly (Please give date/commit below)
Transmitter
Radiomaster TX16S / TX16SMK2
Operating System (OS)
Windows
OS Version
No response
Anything else?
Companion W64 build: Actions, main branch, Windows Companion 64-bit, chore: Translation catchup (#3619) - https://github.com/EdgeTX/edgetx/suites/13479597982/artifacts/740096546
Note: the crash was introduced with commit 125fd2b (#3442)
@richardclli: please check
The text was updated successfully, but these errors were encountered: