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