summaryrefslogtreecommitdiff
path: root/decoders/jitter/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/jitter/pd.py')
-rw-r--r--decoders/jitter/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/jitter/pd.py b/decoders/jitter/pd.py
index 04a2577..f492a9f 100644
--- a/decoders/jitter/pd.py
+++ b/decoders/jitter/pd.py
@@ -63,6 +63,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.state = 'CLK'
self.samplerate = None
self.oldclk, self.oldsig = 0, 0