diff options
author | Gary E. Miller <gem@rellim.com> | 2019-05-29 19:15:32 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-05-29 19:15:32 -0700 |
commit | 3286c9c4af0d5b7c7b9a9131352777e89b136358 (patch) | |
tree | 722f728d4bbd07226a3a6723894242fee54e584c /ubxtool | |
parent | 361b74719ab3a7576e2741ae213c3db9c470e9f4 (diff) | |
download | gpsd-3286c9c4af0d5b7c7b9a9131352777e89b136358.tar.gz |
ubxtool: Cleaup UBX-CFG-ANT
Diffstat (limited to 'ubxtool')
-rwxr-xr-x | ubxtool | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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']: |