]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/transitioncounter.py
srd: s/output_new/add/ for all decoders.
[libsigrokdecode.git] / decoders / transitioncounter.py
index 5a6d140374eaab26363227bd41837c9142fb6ee7..2847abc345cafb50af27b0f86183750ba9a97c5b 100644 (file)
@@ -42,8 +42,8 @@ class Decoder(sigrokdecode.Decoder):
         self.lastsample = None
 
     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