summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-13 17:14:02 -0700
committerGary E. Miller <gem@rellim.com>2018-10-13 17:14:02 -0700
commit86d6a821e555f52213c754390a64736514b9c73b (patch)
tree7e9fc733078d6260f790eec4716748e7b9fb84d4
parenta55267c2fa3ba00cb4bfe461d4583a804a970c89 (diff)
downloadgpsd-86d6a821e555f52213c754390a64736514b9c73b.tar.gz
ubxtool: Fix decode of UBX-RXM-RAW.
-rwxr-xr-xubxtool4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubxtool b/ubxtool
index bece5e7c..c14c93e4 100755
--- a/ubxtool
+++ b/ubxtool
@@ -1085,8 +1085,8 @@ class ubx(object):
if 8 > m_len:
return " Bad Length %s" % m_len
- u = struct.unpack_from('<LlhhBBBB', buf, 0)
- s = ' iTOW:%d ms weeks:%d numSV:%d' % u
+ u = struct.unpack_from('<lhBB', buf, 0)
+ s = ' iTOW:%d ms weeks:%d numSV:%u res1 %u' % u
m_len -= 8
i = 0