summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-05-29 19:15:32 -0700
committerGary E. Miller <gem@rellim.com>2019-05-29 19:15:32 -0700
commit3286c9c4af0d5b7c7b9a9131352777e89b136358 (patch)
tree722f728d4bbd07226a3a6723894242fee54e584c /ubxtool
parent361b74719ab3a7576e2741ae213c3db9c470e9f4 (diff)
downloadgpsd-3286c9c4af0d5b7c7b9a9131352777e89b136358.tar.gz
ubxtool: Cleaup UBX-CFG-ANT
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubxtool b/ubxtool
index 820f1afc..6ead1154 100755
--- a/ubxtool
+++ b/ubxtool
@@ -1833,8 +1833,8 @@ class ubx(object):
return "Bad Length %s" % m_len
u = struct.unpack_from('<HH', buf, 0)
- s = ' flags %#x pins %#x ' % u
- s += ('pinSwitch %d pinSCD %d pinOCD %d reconfig %d' %
+ s = ' flags x%x pins x%x ' % u
+ s += ('pinSwitch %u pinSCD %u pinOCD %u reconfig %u' %
(u[1] & 0x1f, (u[1] >> 5) & 0x1f, (u[1] >> 10) & 0x1f,
u[1] >> 15))
if VERB_DECODE <= opts['verbosity']: