tools/pyboard.py: Speed up reading of chars by decreasing sleep period.

This commit is contained in:
Damien George 2015-07-25 22:49:25 +01:00
parent f1236734bb
commit db109ca0fc

View file

@ -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):