diff options
Diffstat (limited to 'decoders/dmx512')
-rw-r--r-- | decoders/dmx512/pd.py | 3 |
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 |