summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-20 03:42:33 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-20 03:42:33 -0500
commit9a94ad4c9a2210af069d7ba146122d20e7a2ca71 (patch)
tree6a1cf3d8cac45e876c5011022107b326214e0e0c /gpsd.h-tail
parente8d905a83078af0db27838ef476bd02a1df13752 (diff)
downloadgpsd-9a94ad4c9a2210af069d7ba146122d20e7a2ca71.tar.gz
Clarify description of GPS epoch.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail16
1 files changed, 8 insertions, 8 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 12012e91..f54b99fc 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -66,15 +66,15 @@ enum isgpsstat_t {
#define MAX_PACKET_LENGTH 516 /* 7 + 506 + 3 */
/*
- * 6 Jan 1981 00:00:00, second 0 of week 0 of the first rollover
- * period of GPS time. The threshold value under which sytem clock
- * times are considered unreliable. Often, embedded systems come up
- * thinking it's early 1970 and the system clock will report small
- * positive values until the clock is set. By choosing this as the
- * cutoff, we'll never reject historical GPS logs that are actually
- * valid.
+ * UTC of second 0 of week 0 of the first rollover period of GPS time.
+ * Used to compute UTC from GPS time. Also, the threshold value
+ * under which system clock times are considered unreliable. Often,
+ * embedded systems come up thinking it's early 1970 and the system
+ * clock will report small positive values until the clock is set. By
+ * choosing this as the cutoff, we'll never reject historical GPS logs
+ * that are actually valid.
*/
-#define GPS_EPOCH 315964800
+#define GPS_EPOCH 315964800 /* 6 Jan 1981 00:00:00 UTC */
struct gps_packet_t {
/* packet-getter internals */