]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/adf435x/pd.py
decoders: Fix incorrect 'outputs' fields.
[libsigrokdecode.git] / decoders / adf435x / pd.py
index a17eb8426d583503f2c1a6bea0176af29823fbc5..f6c6e6e01f99e66f5a5659a16dc1ee873ca60740 100644 (file)
@@ -95,7 +95,8 @@ class Decoder(srd.Decoder):
     desc = 'Wideband synthesizer with integrated VCO.'
     license = 'gplv3+'
     inputs = ['spi']
-    outputs = ['adf435x']
+    outputs = []
+    tags = ['Clock/timing', 'IC', 'Wireless/RF']
     annotations = (
         # Sent from the host to the chip.
         ('register', 'Register written to the device'),
@@ -105,6 +106,9 @@ class Decoder(srd.Decoder):
     )
 
     def __init__(self):
+        self.reset()
+
+    def reset(self):
         self.bits = []
 
     def start(self):