|
@@ -1424,6 +1424,10 @@ void MarlinUI::update() {
|
1424
|
1424
|
set_status_P(msg, -1);
|
1425
|
1425
|
}
|
1426
|
1426
|
|
|
1427
|
+ #if ENABLED(SDSUPPORT)
|
|
1428
|
+ extern bool wait_for_user, wait_for_heatup;
|
|
1429
|
+ #endif
|
|
1430
|
+
|
1427
|
1431
|
void MarlinUI::abort_print() {
|
1428
|
1432
|
#if ENABLED(SDSUPPORT)
|
1429
|
1433
|
wait_for_heatup = wait_for_user = false;
|
|
@@ -1442,6 +1446,10 @@ void MarlinUI::update() {
|
1442
|
1446
|
#endif
|
1443
|
1447
|
}
|
1444
|
1448
|
|
|
1449
|
+ #if ANY(PARK_HEAD_ON_PAUSE, SDSUPPORT)
|
|
1450
|
+ #include "../gcode/queue.h"
|
|
1451
|
+ #endif
|
|
1452
|
+
|
1445
|
1453
|
void MarlinUI::pause_print() {
|
1446
|
1454
|
#if HAS_LCD_MENU
|
1447
|
1455
|
synchronize(PSTR(MSG_PAUSE_PRINT));
|