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