Skip to content

Commit

Permalink
Increased Sleep Required for RPi Pico
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGaudion committed Apr 19, 2021
1 parent e2820f6 commit d7b1127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rshell/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,7 @@ def recv_file_from_host(src_file, dst_filename, filesize, dst_mode='wb'):
else:
bytes_read = sys.stdin.readinto(read_buf, read_size)
# The following sleep is required for the RPi Pico
#rp2: time.sleep_ms(20)
#rp2: time.sleep_ms(50)
if bytes_read > 0:
write_buf[buf_index:bytes_read] = read_buf[0:bytes_read]
buf_index += bytes_read
Expand Down

0 comments on commit d7b1127

Please sign in to comment.