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

fix: undesired MPM protocol selection changes #3444

Merged
merged 1 commit into from
Apr 13, 2023
Merged

Conversation

mha1
Copy link
Contributor

@mha1 mha1 commented Apr 6, 2023

Fixes #3434

Summary of changes:
This fixes the shortcomings of PR #3355 where ACCESS receiver name data was corrected to fix #3273
Added checking module types of the currently loaded model. If there is no PXX2 module selected there is nothing to correct.
The problem finder confirmed this to fix his problem.

Note of shame:
Dummy me created a major mess with #3355 which showed it's ugly face in 2.8.2 (#3434) and is also present in 2.9. My fudge up causes under very specific conditions (which makes it look random) an index shift to Multi protocols (firmware and simulator). The reason is writing to the PXX2 module data struct via PXX2 union without checking if PXX2 is actually an active module of the loaded model. This semi-randomly overwrites parts of the active modules data. For Multi this can result in an index shift in in the .yml file of the active model. I apologize for the inconvenience.

@pfeerick as this is ugly for 2.8.2. can we think about 2.8.3 which should include at least this PR and the fix for crashing Companion if Multi is selected as internal or external module (#3426).

@pfeerick
Copy link
Member

pfeerick commented Apr 7, 2023

2.8.3 is already planned for other reasons, so it won't be called the "Shameful Mike Edition"... there's enough shame to go around ... (i.e. the cause of #3426)🤭

@pfeerick pfeerick added the bug/regression ↩️ A new version of EdgeTX broke something label Apr 7, 2023
@pfeerick pfeerick added this to the 2.8.3 milestone Apr 7, 2023
@pfeerick pfeerick self-assigned this Apr 7, 2023
@pfeerick pfeerick merged commit 40ef11d into EdgeTX:main Apr 13, 2023
34 checks passed
@mha1 mha1 deleted the fix_3434 branch July 6, 2023 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/regression ↩️ A new version of EdgeTX broke something
Projects
None yet
2 participants