Require a checksum when writing to SD

From #10204 by @adriancuzman
2.0.x
Scott Lahteine 7 years ago
parent 9656a82609
commit 3007eee22e

@ -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