diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-05-17 20:23:20 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-05-17 20:23:20 +0100 |
| commit | e5a989f2e65434c02c2ef7b28d6507635d08e9b6 (patch) | |
| tree | 23dab47fd2551a0dbc11e85d27a8e0e112a3f6fb /gpspoller.py | |
| parent | 8ae7ef3211087357333fd5170b114fb08b8b2ad0 (diff) | |
time in gps debug
Diffstat (limited to 'gpspoller.py')
| -rw-r--r-- | gpspoller.py | 2 |
1 files changed, 1 insertions, 1 deletions
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]
|
