summaryrefslogtreecommitdiff
path: root/driver_nmea.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-21 16:39:12 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-21 16:39:12 -0500
commit7309ada834592769916cef5d798c25453b8cf42a (patch)
treef1d5cc99de733d460f13de1dce3358308a01da87 /driver_nmea.c
parente97b15cc4633f0f7d94e02171e0f7e8020c3d485 (diff)
downloadgpsd-7309ada834592769916cef5d798c25453b8cf42a.tar.gz
Comment fixup.
Diffstat (limited to 'driver_nmea.c')
-rw-r--r--driver_nmea.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/driver_nmea.c b/driver_nmea.c
index dcd62bb2..f7ba1aa5 100644
--- a/driver_nmea.c
+++ b/driver_nmea.c
@@ -53,13 +53,14 @@ static void do_lat_lon(char *field[], struct gps_fix_t *out)
* Scary timestamp fudging begins here
*
* Four sentences, GGA and GLL and RMC and ZDA, contain timestamps.
- * GGA/GLL/RMC timestamps look like hhmmss.ss, with the trailing .ss part
- * optional. RMC has a date field, in the format ddmmyy. ZDA has
- * separate fields for day/month/year, with a 4-digit year. This
+ * GGA/GLL/RMC timestamps look like hhmmss.ss, with the trailing .ss
+ * part optional. RMC has a date field, in the format ddmmyy. ZDA
+ * has separate fields for day/month/year, with a 4-digit year. This
* means that for RMC we must supply a century and for GGA and GLL we
* must supply a century, year, and day. We get the missing data from
- * a previous RMC or ZDA; century in RMC is supplied by a constant if
- * there has been no previous ZDA.
+ * a previous RMC or ZDA; century in RMC is supplied from the daemon's
+ * context (initialized at startup time) if there has been no previous
+ * ZDA.
*
**************************************************************************/