diff options
Diffstat (limited to 'decoders/i2s')
-rw-r--r-- | decoders/i2s/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py index beee079..91801b4 100644 --- a/decoders/i2s/pd.py +++ b/decoders/i2s/pd.py @@ -60,6 +60,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.samplerate = None self.oldws = 1 self.bitcount = 0 |