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