]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/nunchuk.py
srd: s/output_new/add/ for all decoders.
[libsigrokdecode.git] / decoders / nunchuk.py
index 6cd30895c3e38a273c1d32709e18d9757fd24e41..d3ae8714d17c42e82481f70d9d871fc8aa6f30f3 100644 (file)
@@ -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