]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/pan1321/pd.py
All PDs: Drop some unneeded comments.
[libsigrokdecode.git] / decoders / pan1321 / pd.py
index f4929f3a49c7a939b15e93689b1674d30ec63464..2796fe2b04dc066440eeeedc6295644c66792561 100644 (file)
@@ -33,21 +33,17 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['uart']
     outputs = ['pan1321']
-    probes = []
-    optional_probes = []
-    options = {}
-    annotations = [
-        ['Text (verbose)', 'Human-readable text (verbose)'],
-        ['Text', 'Human-readable text'],
-        ['Warnings', 'Human-readable warnings'],
-    ]
+    annotations = (
+        ('text-verbose', 'Human-readable text (verbose)'),
+        ('text', 'Human-readable text'),
+        ('warnings', 'Human-readable warnings'),
+    )
 
     def __init__(self, **kwargs):
         self.cmd = ['', '']
         self.ss_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):