Add M524 to abort SD printing (#12155)

This commit is contained in:
TheSFReader authored and Scott Lahteine committed 2018-10-19 14:25:07 -05:00
1 parent d26d9d5b81
commit 1fb9b299d4
9 files changed
+23 -21

No files matched your search

@@ -244,6 +244,13 @@ void GcodeSuite::M32() {
#endif // SDCARD_SORT_ALPHA && SDSORT_GCODE
/**
* M524: Abort the current SD print job (started with M24)
*/
void GcodeSuite::M524() {
if (IS_SD_PRINTING()) card.abort_sd_printing = true;
}
/**
* M928: Start SD Write
*/