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()) {