summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpssim.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpssim.py b/gpssim.py
index 0969fc76..51319812 100644
--- a/gpssim.py
+++ b/gpssim.py
@@ -191,6 +191,7 @@ class gpssim(object):
# devices, but the point of the architecture is so that we could simulate
# others - SirF, Evermore, whatever.
+
MPS_TO_KNOTS = 1.9438445 # Meters per second to knots
@@ -305,6 +306,7 @@ class NMEA(object):
# The very simple main line.
+
if __name__ == "__main__":
try:
gpssim(NMEA).filter(sys.stdin, sys.stdout)