summaryrefslogtreecommitdiff
path: root/decoders/ssi32
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/ssi32')
-rw-r--r--decoders/ssi32/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/ssi32/pd.py b/decoders/ssi32/pd.py
index dbcdf64..f2685e2 100644
--- a/decoders/ssi32/pd.py
+++ b/decoders/ssi32/pd.py
@@ -46,6 +46,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.ss_cmd, self.es_cmd = 0, 0
self.mosi_bytes = []
self.miso_bytes = []