Abort SD followup

2.0.x
Scott Lahteine 5 years ago
parent d5c1c72a76
commit 61225e685d

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

Loading…
Cancel
Save