summaryrefslogtreecommitdiff
path: root/decoders/wiegand/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/wiegand/pd.py')
-rw-r--r--decoders/wiegand/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/wiegand/pd.py b/decoders/wiegand/pd.py
index 3edefc5..ea873ea 100644
--- a/decoders/wiegand/pd.py
+++ b/decoders/wiegand/pd.py
@@ -48,6 +48,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self._samples_per_bit = 10
self._d0_prev = None