]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/maxim_ds28ea00/pd.py
configure.ac: Check for all known Python3 pkg-config names.
[libsigrokdecode.git] / decoders / maxim_ds28ea00 / pd.py
index ff51d2c91d1f62738f54e8a6066da86a61c17736..a67e70e87f89f525ad789222440a5c8764a26602 100644 (file)
@@ -64,11 +64,8 @@ class Decoder(srd.Decoder):
         self.state = 'ROM'
         self.rom = 0x0000000000000000
 
-    def start(self, metadata):
-        self.out_ann = self.add(srd.OUTPUT_ANN, 'maxim_ds28ea00')
-
-    def report(self):
-        pass
+    def start(self):
+        self.out_ann = self.register(srd.OUTPUT_ANN)
 
     def putx(self, data):
         self.put(self.ss, self.es, self.out_ann, data)