]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mx25lxx05d.py
srd: Drop duplicate SRD_ prefix from ANN/PROTO.
[libsigrokdecode.git] / decoders / mx25lxx05d.py
index 72e1e1b679e1c559eba11d2d7f1cd92f2793652f..3f0dc18c71df247d6577414168f0099f253c62ff 100644 (file)
@@ -172,15 +172,13 @@ class Decoder(srd.Decoder):
     options = {} # TODO
 
     def __init__(self, **kwargs):
-        self.out_proto = None
-        self.out_ann = None
         self.state = IDLE
         self.cmdstate = 1 # TODO
         self.out = []
 
     def start(self, metadata):
-        # self.out_proto = self.add(srd.SRD_OUTPUT_PROTO, 'mx25lxx05d')
-        self.out_ann = self.add(srd.SRD_OUTPUT_ANN, 'mx25lxx05d')
+        # self.out_proto = self.add(srd.OUTPUT_PROTO, 'mx25lxx05d')
+        self.out_ann = self.add(srd.OUTPUT_ANN, 'mx25lxx05d')
 
     def report(self):
         pass