diff options
-rw-r--r-- | gpssim.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |