projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db0f298
)
cmd: conitrace: increase wait for next key
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sat, 26 Dec 2020 23:12:28 +0000
(
00:12
+0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:38:01 +0000
(
02:38
+0100)
At 9600 baud or less a 1 ms wait is too short to detect the end of an
escape sequence.
Increase the wait duration to 10 ms which will work down to 1200 baud.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/conitrace.c
patch
|
blob
|
history
diff --git
a/cmd/conitrace.c
b/cmd/conitrace.c
index
811f5c6
..
d50f3bf
100644
(file)
--- a/
cmd/conitrace.c
+++ b/
cmd/conitrace.c
@@
-30,8
+30,8
@@
static int do_conitrace(struct cmd_tbl *cmdtp, int flag, int argc,
printf("%02x ", c);
first = false;
- /* 1 ms delay - serves to detect separate keystrokes */
- udelay(1000);
+ /* 1
0
ms delay - serves to detect separate keystrokes */
+ udelay(1000
0
);
if (!tstc()) {
printf("\n");
first = true;