]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/edid/pd.py
Probes, optional probes and annotations now take a tuple.
[libsigrokdecode.git] / decoders / edid / pd.py
index f27cf93b80e4ccf2da1a1b14112b9f5b2308da6d..41b790328dea70bc969bbbc55d113c625bc1e2c4 100644 (file)
@@ -81,10 +81,10 @@ class Decoder(srd.Decoder):
     license = 'gplv3+'
     inputs = ['i2c']
     outputs = ['edid']
-    annotations = [
-        ['fields', 'EDID structure fields'],
-        ['sections', 'EDID structure sections'],
-    ]
+    annotations = (
+        ('fields', 'EDID structure fields'),
+        ('sections', 'EDID structure sections'),
+    )
 
     def __init__(self, **kwargs):
         self.state = None