X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fparallel%2Fpd.py;h=71d88331d8444a6d60c498c7f80b29fefdda311e;hb=239e15df5015e7ea1282cab404e5a63db08f988d;hp=b4dbdb3dbc1fd53a8c5365c1c2a31f2e085ae08a;hpb=4f4e035397fa0770d47bf8b663e87651e0709511;p=libsigrokdecode.git diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index b4dbdb3..71d8833 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -140,8 +140,7 @@ class Decoder(srd.Decoder): txts = [self.fmt_word.format(word)] self.putg(ss, es, Ann.WORD, txts) - self.putpy(ss, es, 'WORD', word) - # self.putpy(ss, es, 'WORD', (word, bus_width, word_size)) + self.putpy(ss, es, 'WORD', (word, bus_width, word_size)) if len(items) != word_size: txts = ['incomplete word size', 'word size', 'ws'] @@ -177,8 +176,7 @@ class Decoder(srd.Decoder): es = now txts = [self.fmt_item.format(data)] self.putg(ss, es, Ann.ITEM, txts) - self.putpy(ss, es, 'ITEM', data) - # self.putpy(ss, es, 'ITEM', (data, bus_width)) + self.putpy(ss, es, 'ITEM', (data, bus_width)) # Optionally queue the currently seen item. if item is not None: