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