diff options
Diffstat (limited to 'decoders/morse/pd.py')
-rw-r--r-- | decoders/morse/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/morse/pd.py b/decoders/morse/pd.py index 588394d..a1e3c23 100644 --- a/decoders/morse/pd.py +++ b/decoders/morse/pd.py @@ -137,6 +137,9 @@ class Decoder(srd.Decoder): annotation_rows = tuple((u, v, (i,)) for i, (u, v) in enumerate(annotations)) def __init__(self): + self.reset() + + def reset(self): self.samplerate = None def metadata(self, key, value): |