summaryrefslogtreecommitdiff
path: root/avr
diff options
context:
space:
mode:
authorLeo C2016-08-29 21:07:21 +0200
committerLeo C2016-08-29 21:07:21 +0200
commit66e23a9dc242ecc830902867c63c37745a4d5c07 (patch)
tree6a7e77f4f46e19e230ff0c5299df1e1abeb1676a /avr
parent122660398b4c99ebad726a80a76e281cb55fe5dc (diff)
downloadz180-stamp-66e23a9dc242ecc830902867c63c37745a4d5c07.zip
Prompt
Diffstat (limited to 'avr')
-rw-r--r--avr/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/avr/cli.c b/avr/cli.c
index 891a26a..922f9e1 100644
--- a/avr/cli.c
+++ b/avr/cli.c
@@ -404,7 +404,7 @@ void cli_loop(void)
int rc = 1;
for (;;) {
- len = cli_readline(PSTR(CONFIG_SYS_PROMPT), 1);
+ len = cli_readline(lastcommand ? PSTR(CONFIG_SYS_PROMPT_REPEAT) : PSTR(CONFIG_SYS_PROMPT), 1);
flag = 0; /* assume no special flags for now */
if (len > 0) {