]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/onewire_network/pd.py
usb_signalling: Provide better short/long annotations.
[libsigrokdecode.git] / decoders / onewire_network / pd.py
index a80132e2a23a41d5151c097ce9e2c185a0999d4e..a9165726205c40e433b65542d442052741b615c1 100644 (file)
@@ -41,12 +41,9 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['onewire_link']
     outputs = ['onewire_network']
-    probes = []
-    optional_probes = []
-    options = {}
-    annotations = [
-        ['text', 'Human-readable text'],
-    ]
+    annotations = (
+        ('text', 'Human-readable text'),
+    )
 
     def __init__(self, **kwargs):
         self.beg = 0