From e5a989f2e65434c02c2ef7b28d6507635d08e9b6 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 17 May 2012 20:23:20 +0100 Subject: time in gps debug --- gpspoller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpspoller.py b/gpspoller.py index 37cd441..689ee88 100644 --- a/gpspoller.py +++ b/gpspoller.py @@ -101,6 +101,6 @@ if __name__ == '__main__': # In the main thread, every 5 seconds print the current value time.sleep(1.0) check=gpsp.check() - print gpsp.fixname[gpsp.fix],":satellites in view", gpsp.satellites + print time.ctime(),gpsp.fixname[gpsp.fix],":satellites in view", gpsp.satellites if check!=False: print "changed:",check[0],check[1] -- cgit v1.2.3