1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 05:48:43 +00:00

Abort SD followup

This commit is contained in:
Scott Lahteine 2019-10-29 17:04:39 -05:00
parent d5c1c72a76
commit 61225e685d

View File

@ -378,7 +378,9 @@ void startOrResumeJob() {
print_job_timer.start();
}
void abortSDPrinting() {
#if ENABLED(SDSUPPORT)
void abortSDPrinting() {
card.stopSDPrint(
#if SD_RESORT
true
@ -398,7 +400,9 @@ void abortSDPrinting() {
#ifdef EVENT_GCODE_SD_STOP
queue.inject_P(PSTR(EVENT_GCODE_SD_STOP));
#endif
}
}
#endif
/**
* Manage several activities: