diff options
Diffstat (limited to 'decoders/onewire_network')
-rw-r--r-- | decoders/onewire_network/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/onewire_network/pd.py b/decoders/onewire_network/pd.py index 323da0b..5d850b5 100644 --- a/decoders/onewire_network/pd.py +++ b/decoders/onewire_network/pd.py @@ -45,6 +45,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.ss_block = 0 self.es_block = 0 self.state = 'COMMAND' |