Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Oct 23, 2020
1 parent 6e8eb83 commit 71a92e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nrf24l01_interrupt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 self.pipe is not None: # if RX FIFO is not empty
if nrf.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))
Expand Down

0 comments on commit 71a92e0

Please sign in to comment.