|
@@ -389,7 +389,7 @@ inline void get_serial_commands() {
|
389
|
389
|
else if (serial_char == '\\') { // Handle escapes
|
390
|
390
|
// if we have one more character, copy it over
|
391
|
391
|
if ((c = read_serial(i)) >= 0 && !serial_comment_mode[i])
|
392
|
|
- serial_line_buffer[i][serial_count[i]++] = serial_char;
|
|
392
|
+ serial_line_buffer[i][serial_count[i]++] = (char)c;
|
393
|
393
|
}
|
394
|
394
|
else { // it's not a newline, carriage return or escape char
|
395
|
395
|
if (serial_char == ';') serial_comment_mode[i] = true;
|