diff options
-rw-r--r-- | decoders/atsha204a/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/atsha204a/pd.py b/decoders/atsha204a/pd.py index 70b7b39..2353178 100644 --- a/decoders/atsha204a/pd.py +++ b/decoders/atsha204a/pd.py @@ -107,6 +107,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.state = 'IDLE' self.waddr = self.opcode = -1 self.ss_block = self.es_block = 0 |