Browse Source

Continue on empty lines instead of returning

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

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -893,7 +893,7 @@ void get_command() {
893 893
 
894 894
       serial_comment_mode = false; // end of line == end of comment
895 895
 
896
-      if (!serial_count) return; // empty lines just exit
896
+      if (!serial_count) continue; // skip empty lines
897 897
 
898 898
       serial_line_buffer[serial_count] = 0; // terminate string
899 899
       serial_count = 0; //reset buffer

Loading…
Cancel
Save