Skip to content

Commit 1e07f78

Browse files
committed
fix transmit timeout
1 parent 3b7fdf0 commit 1e07f78

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

adafruit_rfm69.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,6 @@ def send(self, data, timeout=2.):
707707
self.transmit()
708708
# Wait for packet sent interrupt with explicit polling (not ideal but
709709
# best that can be done right now without interrupts).
710-
while not self.packet_sent:
711-
pass
712710
start = time.monotonic()
713711
timed_out = False
714712
while not timed_out and not self.packet_sent:

0 commit comments

Comments
 (0)