Skip to content

Fix GPS Lat/Lon parser - #3500

Merged
mha1 merged 3 commits into
ExpressLRS:masterfrom
mha1:Fix_GPS_NMEA_parser
Jan 20, 2026
Merged

mha1 merged 3 commits into
ExpressLRS:masterfrom
mha1:Fix_GPS_NMEA_parser

Conversation

@mha1

@mha1 mha1 commented Jan 17, 2026 •

Copy link
Copy Markdown
Contributor

The GPS NMEA parser assumed lat/lon degrees be a fixed 2 digits which causes minute decoding errors for lat/lon coordinates <10° or >99°. This fix changes the logic how minutes are extracted.

Fixes #3494

@pkendall64 pkendall64 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this one @mha1. Theres a lot about this code that I don't like, but that can be addressed later in 4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GPS beacon - bad coordinates

3 participants