Skip to content
Snippets Groups Projects
Commit d8b47d3e authored by Damien George's avatar Damien George
Browse files

stmhal: Fix raw REPL so that it passes through more ASCII chars.

parent 769b23a9
No related branches found
No related tags found
No related merge requests found
......@@ -120,9 +120,8 @@ raw_repl_reset:
} else if (c == VCP_CHAR_CTRL_D) {
// input finished
break;
} else if (c == '\r') {
vstr_add_char(&line, '\n');
} else if (32 <= c && c <= 126) {
} else if (c <= 127) {
// let through any other ASCII character
vstr_add_char(&line, c);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment