]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/midi/pd.py
Probes, optional probes and annotations now take a tuple.
[libsigrokdecode.git] / decoders / midi / pd.py
index b6cbd607cc68165b2a1498898add40bce9bdbba6..5845e03d60c849a36031e3ff3f5cc287b52f805d 100644 (file)
@@ -33,9 +33,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['uart']
     outputs = ['midi']
-    annotations = [
-        ['text-verbose', 'Human-readable text (verbose)'],
-    ]
+    annotations = (
+        ('text-verbose', 'Human-readable text (verbose)'),
+    )
 
     def __init__(self, **kwargs):
         self.cmd = []