diff options
Diffstat (limited to 'decoders/sdcard_spi/pd.py')
-rw-r--r-- | decoders/sdcard_spi/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index 478dfc8..7c59634 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -46,6 +46,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'IDLE' self.ss, self.es = 0, 0 self.ss_bit, self.es_bit = 0, 0 |