Fix MSP_GPSSTATISTICS hwVersion documentation: uint32_t -> uint8_t#11513
Merged
sensei-hacker merged 1 commit intoiNavFlight:maintenance-10.xfrom Apr 25, 2026
Conversation
Merged firmware (from 9.x fix-gps-hwversion-field-size) sends hwVersion as sbufWriteU8. Update documentation to match: uint8_t bit-field encoding (bits[7:6]=series, bits[5:0]=generation).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the
hwVersionfield type inMSP_GPSSTATISTICS(code 166) inmsp_messages.json.The merged firmware sends
hwVersionassbufWriteU8(1 byte, bit-field encoding), but the documentation still had the olduint32_t(4 bytes) description from before PR #11510.Corrected entry:
uint8_t(wasuint32_t)This commit was pushed to the merge branch after PR #11512 was already merged.