Add status_printf to print messages to the lcd status line.

Also add a hotend indicator to the heating message displayed on the lcd status line.
This commit is contained in:
dot-bob
2017-02-20 01:51:07 -07:00
committed by Scott Lahteine
parent 012aff6823
commit cd68380ce6
3 changed files with 14 additions and 2 deletions

View File

@ -5308,7 +5308,7 @@ inline void gcode_M104() {
}
#endif
if (code_value_temp_abs() > thermalManager.degHotend(target_extruder)) LCD_MESSAGEPGM(MSG_HEATING);
if (code_value_temp_abs() > thermalManager.degHotend(target_extruder)) status_printf(0, "E%i %s", target_extruder + 1, MSG_HEATING);
}
#if ENABLED(AUTOTEMP)
@ -5506,7 +5506,7 @@ inline void gcode_M109() {
else print_job_timer.start();
#endif
if (thermalManager.isHeatingHotend(target_extruder)) LCD_MESSAGEPGM(MSG_HEATING);
if (thermalManager.isHeatingHotend(target_extruder)) status_printf(0, "E%i %s", target_extruder + 1, MSG_HEATING);
}
#if ENABLED(AUTOTEMP)