Skip to content

Commit

Permalink
fix py streaming data example
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Oct 24, 2024
1 parent af7fb6c commit 6d98e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/streaming_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def master(count: int = 1, size: int = 32):
buf_iter = 0 # iterator of payloads for the while loop
failures = 0 # keep track of manual retries
start_timer = time.monotonic() * 1000 # start timer
for buf_index in size: # cycle through all payloads in stream
for buf_index in range(size): # cycle through all payloads in stream
while not radio.write(stream[buf_iter]):
# upload to TX FIFO failed because TX FIFO is full.
# check for transmission errors
Expand Down

0 comments on commit 6d98e6f

Please sign in to comment.