Fix checksum + card.saving

Followup to #10204
This commit is contained in:
Scott Lahteine committed 2018-03-28 18:40:36 -05:00
1 parent 86e58df324
commit 1e31b56b0f
1 file changed
+6 -4
+6 -4
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()) {