Fix compile with chamber enabled (#15862)
This commit is contained in:
parent
534f2d69c1
commit
7b29c60c46
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ void GcodeSuite::M191() {
|
||||||
if (no_wait_for_cooling || parser.seenval('R')) {
|
if (no_wait_for_cooling || parser.seenval('R')) {
|
||||||
thermalManager.setTargetChamber(parser.value_celsius());
|
thermalManager.setTargetChamber(parser.value_celsius());
|
||||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||||
if (parser.value_celsius() > BED_MINTEMP)
|
if (parser.value_celsius() > CHAMBER_MINTEMP)
|
||||||
startOrResumeJob();
|
startOrResumeJob();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ void GcodeSuite::M191() {
|
||||||
|
|
||||||
const bool is_heating = thermalManager.isHeatingChamber();
|
const bool is_heating = thermalManager.isHeatingChamber();
|
||||||
if (is_heating || !no_wait_for_cooling) {
|
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);
|
thermalManager.wait_for_chamber(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue