summaryrefslogtreecommitdiff
path: root/decoders/dsi
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/dsi')
-rw-r--r--decoders/dsi/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/dsi/pd.py b/decoders/dsi/pd.py
index 5b473be..c5d9bf9 100644
--- a/decoders/dsi/pd.py
+++ b/decoders/dsi/pd.py
@@ -51,6 +51,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
self.samplenum = None
self.edges, self.bits, self.ss_es_bits = [], [], []