summaryrefslogtreecommitdiff
path: root/decoders/em4305
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/em4305')
-rw-r--r--decoders/em4305/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/em4305/pd.py b/decoders/em4305/pd.py
index 895ee15..9fac9c6 100644
--- a/decoders/em4305/pd.py
+++ b/decoders/em4305/pd.py
@@ -65,6 +65,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
self.last_samplenum = None
self.state = 'FFS_SEARCH'