Don't store escaped serial characters if comment_mode

master
Scott Lahteine 9 years ago
parent 5f8e52aefb
commit 3dcf6d42ff

@ -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