stmhal/pyexec.c: Make raw REPL mode 8-bit clean.

This commit is contained in:
Damien George 2015-04-19 21:30:49 +01:00
parent df5d9c77f4
commit f35b5d28db
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}