mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 07:29:33 +00:00
Don't store escaped serial characters if comment_mode
This commit is contained in:
parent
5f8e52aefb
commit
3dcf6d42ff
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ void get_command() {
|
|||
if (MYSERIAL.available() > 0) {
|
||||
// if we have one more character, copy it over
|
||||
serial_char = MYSERIAL.read();
|
||||
serial_line_buffer[serial_count++] = serial_char;
|
||||
if (!serial_comment_mode) serial_line_buffer[serial_count++] = serial_char;
|
||||
}
|
||||
// otherwise do nothing
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue