Skip to content

Commit d7b1127

Browse files
committed
Increased Sleep Required for RPi Pico
1 parent e2820f6 commit d7b1127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rshell/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ def recv_file_from_host(src_file, dst_filename, filesize, dst_mode='wb'):
11041104
else:
11051105
bytes_read = sys.stdin.readinto(read_buf, read_size)
11061106
# The following sleep is required for the RPi Pico
1107-
#rp2: time.sleep_ms(20)
1107+
#rp2: time.sleep_ms(50)
11081108
if bytes_read > 0:
11091109
write_buf[buf_index:bytes_read] = read_buf[0:bytes_read]
11101110
buf_index += bytes_read

0 commit comments

Comments
 (0)