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
+2
+2
View File
@@ -1070,10 +1070,12 @@ inline void get_serial_commands() {
gcode_LastN = gcode_N; gcode_LastN = gcode_N;
} }
#if ENABLED(SDSUPPORT)
else if (card.saving) { else if (card.saving) {
gcode_line_error(PSTR(MSG_ERR_NO_CHECKSUM)); gcode_line_error(PSTR(MSG_ERR_NO_CHECKSUM));
return; return;
} }
#endif
// Movement commands alert when stopped // Movement commands alert when stopped
if (IsStopped()) { if (IsStopped()) {