summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-03 14:50:41 -0700
committerGary E. Miller <gem@rellim.com>2018-10-03 14:51:29 -0700
commitcf34056ad43ceb5dce0a105cd758b1b1e4e0550d (patch)
tree53f8db3bd5b72478ba74ccee97e6c9c738b5f783 /ubxtool
parentb90bed8058edac6650995d9706c3a6af36339aeb (diff)
downloadgpsd-cf34056ad43ceb5dce0a105cd758b1b1e4e0550d.tar.gz
ubxtool: tweak decode of UBX-NAV-TIMEGAL
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool5
1 files changed, 2 insertions, 3 deletions
diff --git a/ubxtool b/ubxtool
index 27b1cbfb..d7f2aa13 100755
--- a/ubxtool
+++ b/ubxtool
@@ -890,9 +890,8 @@ class ubx(object):
return " Bad Length %s" % m_len
u = struct.unpack_from('<LLlhbBL', buf, 0)
- s = (' iTOW %d ms,, galTOW %d s, fGalTow %d ns, galWno %dm leapS %d, '
- 'Valid:%#x\n'
- 'tAcc:%d ns' % u)
+ s = (' iTOW %d ms, galTOW %d s, fGalTow %d ns, galWno %dm leapS %d\n'
+ ' Valid:%#x, tAcc:%d ns' % u)
if 0x07 & u[6]:
s += '\n valid: '
if 1 & u[6]: