🎨 Apply F() to status message
This commit is contained in:
committed by
Scott Lahteine
parent
433eedd50f
commit
360311f232
@ -83,7 +83,7 @@ void GcodeSuite::M140_M190(const bool isM190) {
|
||||
|
||||
thermalManager.setTargetBed(temp);
|
||||
|
||||
ui.set_status_P(thermalManager.isHeatingBed() ? GET_TEXT(MSG_BED_HEATING) : GET_TEXT(MSG_BED_COOLING));
|
||||
ui.set_status(thermalManager.isHeatingBed() ? GET_TEXT_F(MSG_BED_HEATING) : GET_TEXT_F(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));
|
||||
|
@ -69,7 +69,7 @@ void GcodeSuite::M191() {
|
||||
|
||||
const bool is_heating = thermalManager.isHeatingChamber();
|
||||
if (is_heating || !no_wait_for_cooling) {
|
||||
ui.set_status_P(is_heating ? GET_TEXT(MSG_CHAMBER_HEATING) : GET_TEXT(MSG_CHAMBER_COOLING));
|
||||
ui.set_status(is_heating ? GET_TEXT_F(MSG_CHAMBER_HEATING) : GET_TEXT_F(MSG_CHAMBER_COOLING));
|
||||
thermalManager.wait_for_chamber(false);
|
||||
}
|
||||
}
|
||||
|
@ -58,7 +58,7 @@ void GcodeSuite::M193() {
|
||||
cooler.enable();
|
||||
thermalManager.setTargetCooler(parser.value_celsius());
|
||||
if (thermalManager.isLaserCooling()) {
|
||||
ui.set_status_P(GET_TEXT(MSG_LASER_COOLING));
|
||||
LCD_MESSAGE(MSG_LASER_COOLING);
|
||||
thermalManager.wait_for_cooler(true);
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ void GcodeSuite::M303() {
|
||||
KEEPALIVE_STATE(NOT_BUSY);
|
||||
#endif
|
||||
|
||||
LCD_MESSAGEPGM(MSG_PID_AUTOTUNE);
|
||||
LCD_MESSAGE(MSG_PID_AUTOTUNE);
|
||||
thermalManager.PID_autotune(temp, hid, c, u);
|
||||
ui.reset_status();
|
||||
}
|
||||
|
Reference in New Issue
Block a user