mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
stmhal/pyexec.c: Make raw REPL mode 8-bit clean.
This commit is contained in:
@@ -141,9 +141,9 @@ raw_repl_reset:
|
||||
} else if (c == CHAR_CTRL_D) {
|
||||
// input finished
|
||||
break;
|
||||
} else if (c <= 127) {
|
||||
// let through any other ASCII character
|
||||
vstr_add_char(&line, c);
|
||||
} else {
|
||||
// let through any other raw 8-bit value
|
||||
vstr_add_byte(&line, c);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user