Browse Source

Don't store escaped serial characters if comment_mode

Scott Lahteine 9 years ago
parent
commit
3dcf6d42ff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -978,7 +978,7 @@ void get_command() {
978 978
       if (MYSERIAL.available() > 0) {
979 979
         // if we have one more character, copy it over
980 980
         serial_char = MYSERIAL.read();
981
-        serial_line_buffer[serial_count++] = serial_char;
981
+        if (!serial_comment_mode) serial_line_buffer[serial_count++] = serial_char;
982 982
       }
983 983
       // otherwise do nothing
984 984
     }

Loading…
Cancel
Save