Abort SD followup
This commit is contained in:
parent
d5c1c72a76
commit
61225e685d
1 changed files with 24 additions and 20 deletions
|
@ -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:
|
||||||
|
|
Reference in a new issue