diff options
Diffstat (limited to 'decoders/rgb_led_ws281x')
-rw-r--r-- | decoders/rgb_led_ws281x/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/rgb_led_ws281x/pd.py b/decoders/rgb_led_ws281x/pd.py index 5cf2124..b4f7c58 100644 --- a/decoders/rgb_led_ws281x/pd.py +++ b/decoders/rgb_led_ws281x/pd.py @@ -46,6 +46,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.samplerate = None self.oldpin = None self.ss_packet = None |