]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/jtag_stm32/pd.py
Probes, optional probes and annotations now take a tuple.
[libsigrokdecode.git] / decoders / jtag_stm32 / pd.py
index cc298d6fd61427417ad0403d72aeac5eb3845155..0acedc80af3dc00fde58ad054990a6d7dab0dc61 100644 (file)
@@ -127,9 +127,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['jtag']
     outputs = ['jtag_stm32']
-    annotations = [
-        ['text', 'Human-readable text'],
-    ]
+    annotations = (
+        ('text', 'Human-readable text'),
+    )
 
     def __init__(self, **kwargs):
         self.state = 'IDLE'