diff options
Diffstat (limited to 'decoders/rfm12')
-rw-r--r-- | decoders/rfm12/pd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index 3148a57..e709696 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -43,6 +43,9 @@ class Decoder(srd.Decoder): ) def __init__(self): + self.reset() + + def reset(self): self.mosi_bytes, self.miso_bytes = [], [] self.mosi_bits, self.miso_bits = [], [] self.row_pos = [0, 0, 0] |