From 1e31b56b0fe071b72ea14b46d948edfff3b8abe3 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Wed, 28 Mar 2018 17:03:18 -0500 Subject: [PATCH] Fix checksum + card.saving Followup to #10204 --- Marlin/Marlin_main.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 44975c4aa..1a6f4bdfb 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -1070,10 +1070,12 @@ inline void get_serial_commands() { gcode_LastN = gcode_N; } - else if (card.saving) { - gcode_line_error(PSTR(MSG_ERR_NO_CHECKSUM)); - return; - } + #if ENABLED(SDSUPPORT) + else if (card.saving) { + gcode_line_error(PSTR(MSG_ERR_NO_CHECKSUM)); + return; + } + #endif // Movement commands alert when stopped if (IsStopped()) {