tools/mpremote: During soft reboot wait long enough for 115200 data.

pull/8265/head
Andrew Leech 2022-02-01 12:07:40 +11:00 zatwierdzone przez Damien George
rodzic d865ca53b5
commit 5a86d8dc42
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -641,7 +641,7 @@ class PyboardExtended(Pyboard):
while n > 0:
buf = self.serial.read(n)
out_callback(buf)
time.sleep(0.1)
time.sleep(0.2)
n = self.serial.inWaiting()
self.serial.write(b"\x01")
self.exec_(fs_hook_code)