From: Gerhard Sittig Date: Sun, 21 Oct 2018 19:25:34 +0000 (+0200) Subject: miller: add reset() method X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d1de22c0b9ef3158f41fab1b8190cd5d5f79771b;p=libsigrokdecode.git miller: add reset() method --- 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):