diff options
Diffstat (limited to 'stmhal/readline.c')
-rw-r--r-- | stmhal/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/readline.c b/stmhal/readline.c index 14c9b9fb9..5ef86c44f 100644 --- a/stmhal/readline.c +++ b/stmhal/readline.c @@ -52,7 +52,7 @@ static const char *readline_hist[READLINE_HIST_SIZE] = {NULL, NULL, NULL, NULL, enum { ESEQ_NONE, ESEQ_ESC, ESEQ_ESC_BRACKET, ESEQ_ESC_BRACKET_DIGIT, ESEQ_ESC_O }; -void readline_init(void) { +void readline_init0(void) { memset(readline_hist, 0, READLINE_HIST_SIZE * sizeof(const char*)); } |