From d7b1127e5d10ef4ceff9b63593fc96591e316900 Mon Sep 17 00:00:00 2001 From: Ryan Gaudion <43444172+RyanGaudion@users.noreply.github.com> Date: Mon, 19 Apr 2021 18:11:36 +0100 Subject: [PATCH] Increased Sleep Required for RPi Pico --- rshell/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rshell/main.py b/rshell/main.py index 23b64d3..471496b 100755 --- a/rshell/main.py +++ b/rshell/main.py @@ -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