summaryrefslogtreecommitdiff
path: root/decoders/ds243x
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/ds243x')
-rw-r--r--decoders/ds243x/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/ds243x/pd.py b/decoders/ds243x/pd.py
index 05313dc..c7869a8 100644
--- a/decoders/ds243x/pd.py
+++ b/decoders/ds243x/pd.py
@@ -77,6 +77,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
# Bytes for function command.
self.bytes = []
self.family_code = None