From db109ca0fc12f4a8ffe08d44d3b1422452bd7b4e Mon Sep 17 00:00:00 2001 From: Damien George <damien.p.george@gmail.com> Date: Sat, 25 Jul 2015 22:49:25 +0100 Subject: [PATCH] tools/pyboard.py: Speed up reading of chars by decreasing sleep period. --- tools/pyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pyboard.py b/tools/pyboard.py index 403220240..223f3be16 100755 --- a/tools/pyboard.py +++ b/tools/pyboard.py @@ -66,7 +66,7 @@ class Pyboard: timeout_count += 1 if timeout is not None and timeout_count >= 10 * timeout: break - time.sleep(0.1) + time.sleep(0.01) return data def enter_raw_repl(self): -- GitLab