summaryrefslogtreecommitdiff
path: root/decoders/pwm
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/pwm')
-rw-r--r--decoders/pwm/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/pwm/pd.py b/decoders/pwm/pd.py
index 444b417..2301523 100644
--- a/decoders/pwm/pd.py
+++ b/decoders/pwm/pd.py
@@ -49,6 +49,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.ss_block = self.es_block = None
def metadata(self, key, value):