tools/pyboard.py: Speed up reading of chars by decreasing sleep period.
This commit is contained in:
parent
f1236734bb
commit
db109ca0fc
@ -66,7 +66,7 @@ class Pyboard:
|
|||||||
timeout_count += 1
|
timeout_count += 1
|
||||||
if timeout is not None and timeout_count >= 10 * timeout:
|
if timeout is not None and timeout_count >= 10 * timeout:
|
||||||
break
|
break
|
||||||
time.sleep(0.1)
|
time.sleep(0.01)
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def enter_raw_repl(self):
|
def enter_raw_repl(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user