summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorGreg Troxel <gdt@ir.bbn.com>2015-01-27 16:35:14 -0500
committerGreg Troxel <gdt@ir.bbn.com>2015-01-27 16:35:14 -0500
commit9462beb19fb6eda75a34eba9eeeacb4858273e3a (patch)
tree526ea5439fee4e2d35ffb7b67b88739037c4ab97 /gpsfake
parente97068e0022f620596e9ea1411bd7160333ec045 (diff)
downloadgpsd-9462beb19fb6eda75a34eba9eeeacb4858273e3a.tar.gz
Use %.3f for WRITE_PAD, because 0.004 is a typical value.
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsfake b/gpsfake
index 7727c0dd..b9f12956 100755
--- a/gpsfake
+++ b/gpsfake
@@ -153,7 +153,7 @@ if __name__ == '__main__':
elif (switch == '-t'):
tcp = True
elif (switch == '-T'):
- sys.stdout.write("sys %s platform %s: WRITE_PAD = %.2f CLOSE_DELAY = %.2f\n" % (sys.platform, platform.platform(), gpsfake.WRITE_PAD, gpsfake.CLOSE_DELAY))
+ sys.stdout.write("sys %s platform %s: WRITE_PAD = %.3f CLOSE_DELAY = %.2f\n" % (sys.platform, platform.platform(), gpsfake.WRITE_PAD, gpsfake.CLOSE_DELAY))
raise SystemExit,0
elif (switch == '-u'):
udp = True