diff options
Diffstat (limited to 'decoders/lm75/pd.py')
-rw-r--r-- | decoders/lm75/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index d65fb4d..29237d7 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -62,6 +62,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'IDLE' self.reg = 0x00 # Currently selected register self.databytes = [] |