summaryrefslogtreecommitdiff
path: root/decoders/tlc5620
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/tlc5620')
-rw-r--r--decoders/tlc5620/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/tlc5620/pd.py b/decoders/tlc5620/pd.py
index 3ca1415..6fe8ae1 100644
--- a/decoders/tlc5620/pd.py
+++ b/decoders/tlc5620/pd.py
@@ -71,6 +71,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.bits = []
self.ss_dac_first = None
self.ss_dac = self.es_dac = 0