summaryrefslogtreecommitdiff
path: root/decoders/dali/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/dali/pd.py')
-rw-r--r--decoders/dali/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/dali/pd.py b/decoders/dali/pd.py
index 904adc7..5dd577d 100644
--- a/decoders/dali/pd.py
+++ b/decoders/dali/pd.py
@@ -56,6 +56,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 = [], [], []