diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-01-21 16:39:12 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-01-21 16:39:12 -0500 |
commit | 7309ada834592769916cef5d798c25453b8cf42a (patch) | |
tree | f1d5cc99de733d460f13de1dce3358308a01da87 /driver_nmea.c | |
parent | e97b15cc4633f0f7d94e02171e0f7e8020c3d485 (diff) | |
download | gpsd-7309ada834592769916cef5d798c25453b8cf42a.tar.gz |
Comment fixup.
Diffstat (limited to 'driver_nmea.c')
-rw-r--r-- | driver_nmea.c | 11 |
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. * **************************************************************************/ |