diff options
Diffstat (limited to 'decoders/rgb_led_spi/pd.py')
-rw-r--r-- | decoders/rgb_led_spi/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py index 95cbf19..d087556 100644 --- a/decoders/rgb_led_spi/pd.py +++ b/decoders/rgb_led_spi/pd.py @@ -33,6 +33,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.ss_cmd, self.es_cmd = 0, 0 self.mosi_bytes = [] |