Fix false Ground Station activation during Blackbox download - #2690
Fix false Ground Station activation during Blackbox download#2690mart1npetroff wants to merge 2 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Configurator test build ready — commit Download build artifacts for PR #2690 Available platforms (scroll to the Artifacts section at the bottom of the run page):
|
|
Thanks for the fix — this is a clean solve for a tricky bug (Blackbox bytes coincidentally checksumming as valid LTM). A couple of small things I noticed while reading through: It looks like Also, for the second test in One more minor thought: the |
|
Thanks — addressed all three points.
|
|



What changed
Root cause
The serial connection fed every received byte to both MSP and LTM decoders. Raw
MSP_DATAFLASH_READpayloads contain arbitrary Blackbox bytes, so they could accidentally form a valid LTM frame and switch the UI into Ground Station mode.Validation
yarn test— passed.