X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fnunchuk%2Fpd.py;h=5c719cbd79ccdd18bb827eabbe31ef02889a7516;hb=ea48f54366eec05c4675c29387e741ddeeb9d2f5;hp=b272338571eab45d0bd6722050b7fbcc4700476c;hpb=8915b34659332288aab38780d8f10d75c4c83e7f;p=libsigrokdecode.git diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index b272338..5c719cb 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -48,11 +48,8 @@ class Decoder(srd.Decoder): self.init_seq = [] def start(self): - # self.out_proto = self.add(srd.OUTPUT_PROTO, 'nunchuk') - self.out_ann = self.add(srd.OUTPUT_ANN, 'nunchuk') - - def report(self): - pass + # self.out_proto = self.register(srd.OUTPUT_PYTHON) + self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): # Helper for annotations which span exactly one I2C packet.