diff options
Diffstat (limited to 'decoders/onewire_link')
-rw-r--r-- | decoders/onewire_link/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/onewire_link/pd.py b/decoders/onewire_link/pd.py index ca32415..72aea83 100644 --- a/decoders/onewire_link/pd.py +++ b/decoders/onewire_link/pd.py @@ -118,6 +118,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.samplerate = None self.state = 'INITIAL' self.present = 0 |