Add M524 to abort SD printing (#12155)
This commit is contained in:
committed by
Scott Lahteine
parent
d26d9d5b81
commit
1fb9b299d4
@ -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
|
||||
*/
|
Reference in New Issue
Block a user