diff options
Diffstat (limited to 'decoders/spiflash')
-rw-r--r-- | decoders/spiflash/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/spiflash/pd.py b/decoders/spiflash/pd.py index 8e2b041..07934c5 100644 --- a/decoders/spiflash/pd.py +++ b/decoders/spiflash/pd.py @@ -98,6 +98,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.device_id = -1 self.on_end_transaction = None self.end_current_transaction() |