summaryrefslogtreecommitdiff
path: root/decoders/t55xx
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/t55xx')
-rw-r--r--decoders/t55xx/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/t55xx/pd.py b/decoders/t55xx/pd.py
index 5a7611a..07df9c2 100644
--- a/decoders/t55xx/pd.py
+++ b/decoders/t55xx/pd.py
@@ -66,6 +66,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
self.last_samplenum = None
self.lastlast_samplenum = None