Fix compile with chamber enabled (#15862)
This commit is contained in:
parent
534f2d69c1
commit
7b29c60c46
@ -59,7 +59,7 @@ void GcodeSuite::M191() {
|
||||
if (no_wait_for_cooling || parser.seenval('R')) {
|
||||
thermalManager.setTargetChamber(parser.value_celsius());
|
||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||
if (parser.value_celsius() > BED_MINTEMP)
|
||||
if (parser.value_celsius() > CHAMBER_MINTEMP)
|
||||
startOrResumeJob();
|
||||
#endif
|
||||
}
|
||||
@ -67,7 +67,7 @@ void GcodeSuite::M191() {
|
||||
|
||||
const bool is_heating = thermalManager.isHeatingChamber();
|
||||
if (is_heating || !no_wait_for_cooling) {
|
||||
lcd_setstatusPGM(is_heating ? GET_TEXT(MSG_CHAMBER_HEATING) : GET_TEXT(MSG_CHAMBER_COOLING));
|
||||
ui.set_status_P(is_heating ? GET_TEXT(MSG_CHAMBER_HEATING) : GET_TEXT(MSG_CHAMBER_COOLING));
|
||||
thermalManager.wait_for_chamber(false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user