Browse Source

Require a checksum when writing to SD

From #10204 by @adriancuzman
pull/1/head
Scott Lahteine 7 years ago
parent
commit
3007eee22e
  1. 6
      Marlin/src/gcode/queue.cpp

6
Marlin/src/gcode/queue.cpp

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

Loading…
Cancel
Save