diff options
| -rw-r--r-- | timelabtest.xml | 2 | ||||
| -rwxr-xr-x | tomorrowtheground.py | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/timelabtest.xml b/timelabtest.xml index 03e1af9..b6497cc 100644 --- a/timelabtest.xml +++ b/timelabtest.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<tomorrowtheground gpsdevice="/dev/ttO0"> +<tomorrowtheground gpsdevice="/dev/ttyO0"> <gps> <scale file="TimelabTestAreaGRADIENT.png" ll1="51.043293,3.737025" ll2="51.042154,3.739584" freq="1.0" command="cc01"> </scale> diff --git a/tomorrowtheground.py b/tomorrowtheground.py index 8ab6383..857ff8e 100755 --- a/tomorrowtheground.py +++ b/tomorrowtheground.py @@ -52,9 +52,8 @@ import gpspoller gpsp="" try: - if len(sys.argv)>1: - gpsp = GpsPoller(doc.gpsdevice) - gpsp.start() + gpsp = GpsPoller(doc.gpsdevice) + gpsp.start() except: print "gps device not found" |
