summaryrefslogtreecommitdiff
path: root/decoders/nrf24l01
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/nrf24l01')
-rw-r--r--decoders/nrf24l01/pd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/nrf24l01/pd.py b/decoders/nrf24l01/pd.py
index 02cdddb..221b968 100644
--- a/decoders/nrf24l01/pd.py
+++ b/decoders/nrf24l01/pd.py
@@ -94,6 +94,9 @@ class Decoder(srd.Decoder):
)
def __init__(self):
+ self.reset()
+
+ def reset(self):
self.next()
self.requirements_met = True
self.cs_was_released = False