summaryrefslogtreecommitdiff
path: root/decoders/mrf24j40
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/mrf24j40')
-rw-r--r--decoders/mrf24j40/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/mrf24j40/pd.py b/decoders/mrf24j40/pd.py
index e195b18..8ccf473 100644
--- a/decoders/mrf24j40/pd.py
+++ b/decoders/mrf24j40/pd.py
@@ -43,6 +43,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.ss_cmd, self.es_cmd = 0, 0
self.mosi_bytes = []
self.miso_bytes = []