Browse Source

modify dgps_age type

change dgps_age type from int to struct minmea_float. 
example:  $--GGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x,M,x.x,M,x.x,xxxx*hh<CR><LF>
gdpinchina 7 years ago
parent
commit
c4a5a01d66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      minmea.c

+ 1 - 1
minmea.c

@@ -415,7 +415,7 @@ bool minmea_parse_gga(struct minmea_sentence_gga *frame, const char *sentence)
     int latitude_direction;
     int longitude_direction;
 
-    if (!minmea_scan(sentence, "tTfdfdiiffcfci_",
+    if (!minmea_scan(sentence, "tTfdfdiiffcfcf_",
             type,
             &frame->time,
             &frame->latitude, &latitude_direction,