summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-10 19:41:35 -0800
committerGary E. Miller <gem@rellim.com>2018-11-10 19:41:35 -0800
commit095783436fb11e14aa0e9901ec5694fa74eade4f (patch)
treed89d575edd0c146aeaf680aa3a0f3cb699c99ab0
parent0a5021c826d90cb5c4cd3f5a517a5258aba05701 (diff)
downloadgpsd-095783436fb11e14aa0e9901ec5694fa74eade4f.tar.gz
gps.h: How could we not have the speed of light?
-rw-r--r--gps.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 2879ffd4..6f345947 100644
--- a/gps.h
+++ b/gps.h
@@ -2227,6 +2227,8 @@ extern double wgs84_separation(double, double);
#define WGS84F 298.257223563 /* flattening */
#define WGS84B 6356752.3142 /* polar radius */
+#define CLIGHT 299792458.0 /* speed of light (m/s) */
+
/* netlib_connectsock() errno return values */
#define NL_NOSERVICE -1 /* can't get service entry */
#define NL_NOHOST -2 /* can't get host entry */