[Git][NTPsec/ntpsec][master] Fix minor typos.

Hal Murray gitlab at mg.gitlab.com
Tue Feb 2 02:30:44 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
2353fbfb by Hal Murray at 2016-02-01T16:17:20-08:00
Fix minor typos.

- - - - -


2 changed files:

- docs/driver20.txt
- ntpd/refclock_nmea.c


Changes:

=====================================
docs/driver20.txt
=====================================
--- a/docs/driver20.txt
+++ b/docs/driver20.txt
@@ -100,7 +100,7 @@ Specific GPS sentences and bitrates may be selected by setting bits of the \'mod
 [cols="10%,10%,10%,70%",options="header"]
 |=============================================================================
 |Bit    | Decimal | Hex | Meaning
-|0      |1        |1    |process +$GPMRC+
+|0      |1        |1    |process +$GPRMC+
 |1      |2        |2    |process +$GPGGA+
 |2      |4        |4    |process +$GPGLL+
 |3      |8        |8    |process +$GPZDA+ or +$GPZDG+


=====================================
ntpd/refclock_nmea.c
=====================================
--- a/ntpd/refclock_nmea.c
+++ b/ntpd/refclock_nmea.c
@@ -880,13 +880,13 @@ nmea_receive(
 	 * make sure it came in clean
 	 *
 	 * Apparently, older NMEA specifications (which are expensive)
-	 * did not require the checksum for all sentences.  $GPMRC is
+	 * did not require the checksum for all sentences.  $GPRMC is
 	 * the only one so far identified which has always been required
 	 * to include a checksum.
 	 *
 	 * Today, most NMEA GPS receivers checksum every sentence.  To
 	 * preserve its error-detection capabilities with modern GPSes
-	 * while allowing operation without checksums on all but $GPMRC,
+	 * while allowing operation without checksums on all but $GPRMC,
 	 * we keep track of whether we've ever seen a valid checksum on
 	 * a given sentence, and if so, reject future instances without
 	 * checksum.  ('up->cksum_type[NMEA_GPRMC]' is set in



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/2353fbfb53349f44638d9a49c669c1ca0dfafbc5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160202/483ffc0f/attachment.html>


More information about the vc mailing list