Browse Source

Don't store escaped serial characters if comment_mode

pull/1/head
Scott Lahteine 9 years ago
parent
commit
3dcf6d42ff
  1. 2
      Marlin/Marlin_main.cpp

2
Marlin/Marlin_main.cpp

@ -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…
Cancel
Save