diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-10-21 21:25:34 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2018-10-21 21:26:09 +0200 |
commit | d1de22c0b9ef3158f41fab1b8190cd5d5f79771b (patch) | |
tree | 1dcfd94744108e49b27da8bac61b3e20f25a6ac6 /decoders | |
parent | 546733a262c826ee5bc9ee74eaec330d2e3c088b (diff) | |
download | libsigrokdecode-d1de22c0b9ef3158f41fab1b8190cd5d5f79771b.tar.gz libsigrokdecode-d1de22c0b9ef3158f41fab1b8190cd5d5f79771b.zip |
miller: add reset() method
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/miller/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/miller/pd.py b/decoders/miller/pd.py index 0ab5c4a..9a4032e 100644 --- a/decoders/miller/pd.py +++ b/decoders/miller/pd.py @@ -56,6 +56,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.samplerate = None def metadata(self, key, value): |