summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-21 04:07:21 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-21 04:07:21 -0400
commit63a5c6c41a67d41b3c9a4afab6ec81b850c29992 (patch)
tree18e440a6223257b18ce1d95188a65941ac67ac86 /gpsprof
parent419cb70ec3d762fede5746aa128176c9448f0a35 (diff)
downloadgpsd-63a5c6c41a67d41b3c9a4afab6ec81b850c29992.tar.gz
More conversion to the new Python interface.
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsprof b/gpsprof
index 8629223e..93a41b9e 100755
--- a/gpsprof
+++ b/gpsprof
@@ -179,8 +179,8 @@ set key title "Uninstrumented total latency, %s, %s, %dN%d, cycle %ds"
plot "-" using 0:1 title "Total time" with impulses
'''
res = fmt % (title,
- session.gps_id, session.baudrate,
- session.stopbits, session.cycle)
+ device['driver'], device['bps'],
+ device['stopbits'], device['cycle'])
res += self.header(session, device)
return res + self.data(session)