diff options
Diffstat (limited to 'decoders/ade77xx/pd.py')
-rw-r--r-- | decoders/ade77xx/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/ade77xx/pd.py b/decoders/ade77xx/pd.py index 32a431b..0dfd7c8 100644 --- a/decoders/ade77xx/pd.py +++ b/decoders/ade77xx/pd.py @@ -50,6 +50,9 @@ class Decoder(srd.Decoder): self.mosi_bytes, self.miso_bytes = [], [] def __init__(self): + self.reset() + + def reset(self): self.ss_cmd, self.es_cmd = 0, 0 self.reset_data() |