|
@ -37,9 +37,9 @@ |
|
|
* object. On resume (M24) the head will be moved back and the |
|
|
* object. On resume (M24) the head will be moved back and the |
|
|
* print will resume. |
|
|
* print will resume. |
|
|
* |
|
|
* |
|
|
* If Marlin is compiled without SD Card support, M125 can be |
|
|
* When not actively SD printing, M125 simply moves to the park |
|
|
* used directly to pause the print and move to park position, |
|
|
* position and waits, resuming with a button click or M108. |
|
|
* resuming with a button click or M108. |
|
|
* Without PARK_HEAD_ON_PAUSE the M125 command does nothing. |
|
|
* |
|
|
* |
|
|
* L = override retract length |
|
|
* L = override retract length |
|
|
* X = override X |
|
|
* X = override X |
|
@ -75,6 +75,8 @@ void GcodeSuite::M125() { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
if (pause_print(retract, park_point)) { |
|
|
if (pause_print(retract, park_point)) { |
|
|
|
|
|
// SD Printing simply pauses, leaving the machine in a ready state,
|
|
|
|
|
|
// and can be resumed at any time, so don't wait in a loop here.
|
|
|
if (!sd_printing) { |
|
|
if (!sd_printing) { |
|
|
wait_for_confirmation(); |
|
|
wait_for_confirmation(); |
|
|
resume_print(); |
|
|
resume_print(); |
|
|