]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mxc6225xu/pd.py
Probes, optional probes and annotations now take a tuple.
[libsigrokdecode.git] / decoders / mxc6225xu / pd.py
index c236070167a1e69b91f0d3c100062913e10adb39..c1a2a810a9a3d560b6b78df94ecda135b19be41d 100644 (file)
@@ -68,12 +68,12 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['i2c']
     outputs = ['mxc6225xu']
-    optional_probes = [
+    optional_probes = (
         {'id': 'int', 'name': 'INT', 'desc': 'DTOS interrupt output pin'},
-    ]
-    annotations = [
-        ['text', 'Human-readable text'],
-    ]
+    )
+    annotations = (
+        ('text', 'Human-readable text'),
+    )
 
     def __init__(self, **kwargs):
         self.state = 'IDLE'