From 448075808f522d90c6581718e38bec408c949deb Mon Sep 17 00:00:00 2001 From: brendan <2bndy5@gmail.com> Date: Thu, 22 Oct 2020 21:11:16 -0700 Subject: [PATCH] Revert "typo" This reverts commit 71a92e001b972e42d4c13a61496ae490fba3af51. --- examples/nrf24l01_interrupt_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nrf24l01_interrupt_test.py b/examples/nrf24l01_interrupt_test.py index b703106..90679ed 100644 --- a/examples/nrf24l01_interrupt_test.py +++ b/examples/nrf24l01_interrupt_test.py @@ -126,7 +126,7 @@ def slave(timeout=6): # will listen for 6 seconds before timing out # if RX FIFO is not full and timeout is not reached, then keep going pass nrf.listen = False # put nRF24L01 in TX mode & discard any ACK payloads - if nrf.pipe is not None: # if RX FIFO is not empty + if self.pipe is not None: # if RX FIFO is not empty # all 3 payloads received were 5 bytes each, and RX FIFO is full # so, fetching 15 bytes from the RX FIFO also flushes RX FIFO print("Complete RX FIFO:", nrf.recv(15))