Skip to content

Commit

Permalink
should use 'i' instead of 'd' in minmea_parse_gbs
Browse files Browse the repository at this point in the history
please reference the definition here:
https://gpsd.gitlab.io/gpsd/NMEA.html#_gbs_gps_satellite_fault_detection

Signed-off-by: Xiang Xiao <[email protected]>
  • Loading branch information
xiaoxiang781216 authored and kosma committed Aug 4, 2022
1 parent 1ac0ec3 commit 0a0a14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minmea.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ bool minmea_parse_gbs(struct minmea_sentence_gbs *frame, const char *sentence)
{
// $GNGBS,170556.00,3.0,2.9,8.3,,,,*5C
char type[6];
if (!minmea_scan(sentence, "tTfffdfff",
if (!minmea_scan(sentence, "tTfffifff",
type,
&frame->time,
&frame->err_latitude,
Expand Down

0 comments on commit 0a0a14a

Please sign in to comment.