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