Fix checksum + card.saving

Followup to #10204
This commit is contained in:
Scott Lahteine 2018-03-28 17:03:18 -05:00
parent 86e58df324
commit 1e31b56b0f

View File

@ -1070,10 +1070,12 @@ inline void get_serial_commands() {
gcode_LastN = gcode_N; gcode_LastN = gcode_N;
} }
else if (card.saving) { #if ENABLED(SDSUPPORT)
gcode_line_error(PSTR(MSG_ERR_NO_CHECKSUM)); else if (card.saving) {
return; gcode_line_error(PSTR(MSG_ERR_NO_CHECKSUM));
} return;
}
#endif
// Movement commands alert when stopped // Movement commands alert when stopped
if (IsStopped()) { if (IsStopped()) {