X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fadf435x%2Fpd.py;h=f6c6e6e01f99e66f5a5659a16dc1ee873ca60740;hp=a17eb8426d583503f2c1a6bea0176af29823fbc5;hb=6cbba91f23b9f9ace75b4722c9c0776b9211008d;hpb=b197383cfb39b39ff04644855eef57f5d3c18bc1;ds=sidebyside diff --git a/decoders/adf435x/pd.py b/decoders/adf435x/pd.py index a17eb84..f6c6e6e 100644 --- a/decoders/adf435x/pd.py +++ b/decoders/adf435x/pd.py @@ -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):