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 <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-07-18 19:15:25 +08:00 committed by Kosma Moczek
parent 1ac0ec3ae6
commit 0a0a14a42e

View File

@ -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 // $GNGBS,170556.00,3.0,2.9,8.3,,,,*5C
char type[6]; char type[6];
if (!minmea_scan(sentence, "tTfffdfff", if (!minmea_scan(sentence, "tTfffifff",
type, type,
&frame->time, &frame->time,
&frame->err_latitude, &frame->err_latitude,