]> 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 97431e01587dd6d4f933cc6f7b5e295153766f0f..48649bf325f2b0f9fae7e5c853e0911a2eb625da 100644 (file)
@@ -44,12 +44,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['i2c']
     outputs = ['ds1307']
-    probes = []
-    optional_probes = []
-    options = {}
-    annotations = [
-        ['text', 'Human-readable text'],
-    ]
+    annotations = (
+        ('text', 'Human-readable text'),
+    )
 
     def __init__(self, **kwargs):
         self.state = 'IDLE'