|
@@ -470,14 +470,21 @@ inline void line_to_current(AxisEnum axis) {
|
470
|
470
|
|
471
|
471
|
#if ENABLED(SDSUPPORT)
|
472
|
472
|
|
473
|
|
- static void lcd_sdcard_pause() { card.pauseSDPrint(); }
|
|
473
|
+ static void lcd_sdcard_pause() {
|
|
474
|
+ card.pauseSDPrint();
|
|
475
|
+ print_job_timer.pause();
|
|
476
|
+ }
|
474
|
477
|
|
475
|
|
- static void lcd_sdcard_resume() { card.startFileprint(); }
|
|
478
|
+ static void lcd_sdcard_resume() {
|
|
479
|
+ card.startFileprint();
|
|
480
|
+ print_job_timer.start();
|
|
481
|
+ }
|
476
|
482
|
|
477
|
483
|
static void lcd_sdcard_stop() {
|
478
|
484
|
stepper.quick_stop();
|
479
|
485
|
card.sdprinting = false;
|
480
|
486
|
card.closefile();
|
|
487
|
+ print_job_timer.stop();
|
481
|
488
|
thermalManager.autotempShutdown();
|
482
|
489
|
cancel_heatup = true;
|
483
|
490
|
lcd_setstatus(MSG_PRINT_ABORTED, true);
|