summaryrefslogtreecommitdiff
path: root/avr/cmd_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/cmd_boot.c')
-rw-r--r--avr/cmd_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/cmd_boot.c b/avr/cmd_boot.c
index ce280ac..f3bce9d 100644
--- a/avr/cmd_boot.c
+++ b/avr/cmd_boot.c
@@ -241,7 +241,7 @@ command_ret_t do_console(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv
case ':':
putchar('\n');
- int cmdlen = cli_readline(PSTR(": "));
+ int cmdlen = cli_readline(PSTR(": "), 1);
if (cmdlen > 0)
run_command(console_buffer, 0);
break;