summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-08-31 15:35:34 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-08-31 15:35:34 +0000
commitd943d1aa8494ba21f17d9c7d7751f60ee93ff265 (patch)
tree7c7087b6f02fbec8858e1bd44aa63280bca23458
parent86e8ed64cd3ae6fa08c3595a608b496fe06a30e2 (diff)
downloadgpsd-d943d1aa8494ba21f17d9c7d7751f60ee93ff265.tar.gz
Don't set satellites_used in GGA, it's not coorect to the
interpretation of the field.
-rw-r--r--nmea_parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nmea_parse.c b/nmea_parse.c
index e0cafaa2..e8056e6d 100644
--- a/nmea_parse.c
+++ b/nmea_parse.c
@@ -212,7 +212,7 @@ static void processGPGLL(char *sentence, struct gps_data_t *out)
* 1,2 Latitude, N (North) or S (South)
* 3,4 Longitude, E (East) or W (West)
* 5 UTC of position
- * 6 Status: A=Valid, V=Invalid
+ * 6 A=Active, V=Void
* 7 Mode Indicator
* A = Autonomous mode
* D = Differential Mode
@@ -345,7 +345,6 @@ static void processGPGGA(char *sentence, struct gps_data_t *out)
out->status_stamp.changed = update_field_i(sentence, 6, &out->status);
REFRESH(out->status_stamp);
gpscli_report(3, "GPGGA sets status %d\n", out->status);
- update_field_i(sentence, 7, &out->satellites_used);
out->altitude_stamp.changed = update_field_f(sentence, 9, &out->altitude);
REFRESH(out->altitude_stamp);
}