From 0a0a14a42e2895c3c1743410036ba18ccc28bcfb Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 18 Jul 2022 19:15:25 +0800 Subject: [PATCH] should use 'i' instead of 'd' in minmea_parse_gbs please reference the definition here: https://gpsd.gitlab.io/gpsd/NMEA.html#_gbs_gps_satellite_fault_detection Signed-off-by: Xiang Xiao --- minmea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minmea.c b/minmea.c index b08a995..aadc9ca 100644 --- a/minmea.c +++ b/minmea.c @@ -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,