summaryrefslogtreecommitdiff
path: root/decoders/dmx512
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/dmx512')
-rw-r--r--decoders/dmx512/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/dmx512/pd.py b/decoders/dmx512/pd.py
index f250a3b..1bcca20 100644
--- a/decoders/dmx512/pd.py
+++ b/decoders/dmx512/pd.py
@@ -52,6 +52,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
self.sample_usec = None
self.run_start = -1