From 545f7997eacb3018e956cc6235eb3c8cf937ba9a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 28 Mar 2016 04:42:51 -0700 Subject: [PATCH] Continue on empty lines instead of returning --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index de155a1221..423be9d534 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -893,7 +893,7 @@ void get_command() { serial_comment_mode = false; // end of line == end of comment - if (!serial_count) return; // empty lines just exit + if (!serial_count) continue; // skip empty lines serial_line_buffer[serial_count] = 0; // terminate string serial_count = 0; //reset buffer