summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-03-05 03:11:53 -0500
committerEric S. Raymond <esr@thyrsus.com>2012-03-05 03:11:53 -0500
commit251f302cf3e3bc9a2e014b8d56bb86ec5b9308eb (patch)
tree12429a10a2b28dc6b21a9d135d8d44c560558007 /gps.h
parent5912b63ad5df9e678be7c1950f1d7d150ba9f51a (diff)
downloadgpsd-251f302cf3e3bc9a2e014b8d56bb86ec5b9308eb.tar.gz
Add a conversion constant requred for DBT sentences.
All regression tests pass.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 7b0bd9f4..6baf2322 100644
--- a/gps.h
+++ b/gps.h
@@ -1753,6 +1753,7 @@ extern double wgs84_separation(double, double);
/* some multipliers for interpreting GPS output */
#define METERS_TO_FEET 3.2808399 /* Meters to U.S./British feet */
#define METERS_TO_MILES 0.00062137119 /* Meters to miles */
+#define METERS_TO_FATHOMS 0.54680665 /* Meters to fathoms */
#define KNOTS_TO_MPH 1.1507794 /* Knots to miles per hour */
#define KNOTS_TO_KPH 1.852 /* Knots to kilometers per hour */
#define KNOTS_TO_MPS 0.51444444 /* Knots to meters per second */