summaryrefslogtreecommitdiff
path: root/decoders/am230x/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/am230x/pd.py')
-rw-r--r--decoders/am230x/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/am230x/pd.py b/decoders/am230x/pd.py
index 0e4eac8..81c1f28 100644
--- a/decoders/am230x/pd.py
+++ b/decoders/am230x/pd.py
@@ -122,6 +122,9 @@ class Decoder(srd.Decoder):
return checksum % 256
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.samplerate = None
self.reset_variables()