X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fnunchuk.py;h=d3ae8714d17c42e82481f70d9d871fc8aa6f30f3;hp=6cd30895c3e38a273c1d32709e18d9757fd24e41;hb=2fd89a85c4a1131ca259d794a43b26b8bd84b6a0;hpb=7ce7775cb5a4e97264df62f43315d32504602072 diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py index 6cd3089..d3ae871 100644 --- a/decoders/nunchuk.py +++ b/decoders/nunchuk.py @@ -87,8 +87,8 @@ class Decoder(sigrokdecode.Decoder): self.databytecount = 0 def start(self, metadata): - # self.output_protocol = self.output_new(2) - self.output_annotation = self.output_new(1) + # self.output_protocol = self.add(2) + self.output_annotation = self.add(1) def report(self): pass