|
@@ -114,6 +114,10 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
|
114
|
114
|
) {
|
115
|
115
|
if (move_away_flag) return false; // already paused
|
116
|
116
|
|
|
117
|
+ #ifdef ACTION_ON_PAUSE
|
|
118
|
+ SERIAL_ECHOLNPGM("//action:" ACTION_ON_PAUSE);
|
|
119
|
+ #endif
|
|
120
|
+
|
117
|
121
|
if (!DEBUGGING(DRYRUN) && unload_length != 0) {
|
118
|
122
|
#if ENABLED(PREVENT_COLD_EXTRUSION)
|
119
|
123
|
if (!thermalManager.allow_cold_extrude &&
|
|
@@ -342,6 +346,10 @@ void resume_print(const float &load_length/*=0*/, const float &initial_extrude_l
|
342
|
346
|
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_STATUS);
|
343
|
347
|
#endif
|
344
|
348
|
|
|
349
|
+ #ifdef ACTION_ON_RESUME
|
|
350
|
+ SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
|
|
351
|
+ #endif
|
|
352
|
+
|
345
|
353
|
#if ENABLED(SDSUPPORT)
|
346
|
354
|
if (sd_print_paused) {
|
347
|
355
|
card.startFileprint();
|