summaryrefslogtreecommitdiff
path: root/ubxtool
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-04-15 16:27:06 -0700
committerGary E. Miller <gem@rellim.com>2019-04-15 16:27:06 -0700
commit923428196e7084e97134f4d28df30d4452673e99 (patch)
tree3208d53e689b4e4e4e6181a311d66293f3e184eb /ubxtool
parentbd624569ad6b04124299262858b31b9b00d34377 (diff)
downloadgpsd-923428196e7084e97134f4d28df30d4452673e99.tar.gz
ubxtool: More better protID decode
Diffstat (limited to 'ubxtool')
-rwxr-xr-xubxtool4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubxtool b/ubxtool
index ab7d48f4..14c29385 100755
--- a/ubxtool
+++ b/ubxtool
@@ -2170,8 +2170,8 @@ class ubx(object):
s = ('version %u nPorts %u txErrors %#x reserved1 %u\n'
'protIds %#x/%x/%x/%x' % u)
s += ('(%s/%s/%s/%s)\n' %
- (self._protId[u[4]], self._protId[u[5]],
- self._protId[u[6]], self._protId[u[7]]))
+ (self._protId(u[4]), self._protId(u[5]),
+ self._protId(u[6]), self._protId(u[7])))
i = 0
while m_len > (8 + (i * 40)):