]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/midi/pd.py
All PDs: Drop some unneeded comments.
[libsigrokdecode.git] / decoders / midi / pd.py
index 2bd1d89995df6a8384e9d38e28f120d77ae1a556..1a553ead10df93fbf3bc0a1cde9d29e472def1aa 100644 (file)
@@ -33,12 +33,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['uart']
     outputs = ['midi']
-    probes = []
-    optional_probes = []
-    options = {}
-    annotations = [
-        ['text-verbose', 'Human-readable text (verbose)'],
-    ]
+    annotations = (
+        ('text-verbose', 'Human-readable text (verbose)'),
+    )
 
     def __init__(self, **kwargs):
         self.cmd = []
@@ -49,7 +46,6 @@ class Decoder(srd.Decoder):
         self.es_block = None
 
     def start(self):
-        # self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
     def putx(self, data):