diff options
Diffstat (limited to 'decoders/timing/pd.py')
-rw-r--r-- | decoders/timing/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/timing/pd.py b/decoders/timing/pd.py index ab963bb..61eab1e 100644 --- a/decoders/timing/pd.py +++ b/decoders/timing/pd.py @@ -74,6 +74,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.samplerate = None self.last_samplenum = None self.last_n = deque() |