summaryrefslogtreecommitdiff
path: root/decoders/aud
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/aud')
-rw-r--r--decoders/aud/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/aud/pd.py b/decoders/aud/pd.py
index baa920e..30c32f5 100644
--- a/decoders/aud/pd.py
+++ b/decoders/aud/pd.py
@@ -46,6 +46,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.ncnt = 0
self.nmax = 0
self.addr = 0