aboutsummaryrefslogtreecommitdiff
path: root/shell/shell_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/shell_common.c')
-rw-r--r--shell/shell_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_common.c b/shell/shell_common.c
index 5a5b1780d..653154e34 100644
--- a/shell/shell_common.c
+++ b/shell/shell_common.c
@@ -147,7 +147,7 @@ shell_builtin_read(void FAST_FUNC (*setvar)(const char *name, const char *val),
147 // Setting it to more than 1 breaks poll(): 147 // Setting it to more than 1 breaks poll():
148 // it blocks even if there's data. !?? 148 // it blocks even if there's data. !??
149 //tty.c_cc[VMIN] = nchars < 256 ? nchars : 255; 149 //tty.c_cc[VMIN] = nchars < 256 ? nchars : 255;
150 /* reads would block only if < 1 char is available */ 150 /* reads will block only if < 1 char is available */
151 tty.c_cc[VMIN] = 1; 151 tty.c_cc[VMIN] = 1;
152 /* no timeout (reads block forever) */ 152 /* no timeout (reads block forever) */
153 tty.c_cc[VTIME] = 0; 153 tty.c_cc[VTIME] = 0;