srd: s/output_new/add/ for all decoders.
[libsigrokdecode.git] / decoders / mx25lxx05d.py
index 0f2f73b8cbcbe43eeab62ef986a60874bef4953b..1f45dc47bbe22123ce0ad144fd36579b25e2ed1f 100644 (file)
@@ -179,8 +179,8 @@ class Decoder(sigrokdecode.Decoder):
         self.out = []
 
     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