]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mx25lxx05d/pd.py
Drop obsolete report() method.
[libsigrokdecode.git] / decoders / mx25lxx05d / pd.py
index 35809f385d1a36a8270c2278e1cf35125b0d1ff7..1b6c6acd483663f728a87fc27714b54a0790d2cd 100644 (file)
@@ -111,11 +111,8 @@ class Decoder(srd.Decoder):
         self.data = []
 
     def start(self):
-        # self.out_proto = self.add(srd.OUTPUT_PROTO, 'mx25lxx05d')
-        self.out_ann = self.add(srd.OUTPUT_ANN, 'mx25lxx05d')
-
-    def report(self):
-        pass
+        # self.out_proto = self.register(srd.OUTPUT_PYTHON)
+        self.out_ann = self.register(srd.OUTPUT_ANN)
 
     def putx(self, data):
         # Simplification, most annotations span exactly one SPI byte/packet.