]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/pan1321/pd.py
ir_nec: Update to recent PD API changes.
[libsigrokdecode.git] / decoders / pan1321 / pd.py
index f345506cdac69aea42cc258dcfe1a4dfa4c175e7..9278ba09ad2cc2e38be1595cb1f7b1646df60eff 100644 (file)
@@ -33,14 +33,11 @@ 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 = ['', '']