diff options
Diffstat (limited to 'decoders/avr_isp')
-rw-r--r-- | decoders/avr_isp/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py index 9c8647d..2530e8c 100644 --- a/decoders/avr_isp/pd.py +++ b/decoders/avr_isp/pd.py @@ -51,6 +51,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'IDLE' self.mosi_bytes, self.miso_bytes = [], [] self.ss_cmd, self.es_cmd = 0, 0 |