|
|
@ -83,10 +83,11 @@ void GcodeSuite::M140_M190(const bool isM190) { |
|
|
|
|
|
|
|
thermalManager.setTargetBed(temp); |
|
|
|
|
|
|
|
TERN_(PRINTJOB_TIMER_AUTOSTART, thermalManager.auto_job_check_timer(true, false)); |
|
|
|
|
|
|
|
ui.set_status_P(thermalManager.isHeatingBed() ? GET_TEXT(MSG_BED_HEATING) : GET_TEXT(MSG_BED_COOLING)); |
|
|
|
|
|
|
|
// with PRINTJOB_TIMER_AUTOSTART, M190 can start the timer, and M140 can stop it
|
|
|
|
TERN_(PRINTJOB_TIMER_AUTOSTART, thermalManager.auto_job_check_timer(isM190, !isM190)); |
|
|
|
|
|
|
|
if (isM190) |
|
|
|
thermalManager.wait_for_bed(no_wait_for_cooling); |
|
|
|
} |
|
|
|