Browse Source

Consistent heating status and status reset

Fix #10699
pull/1/head
Scott Lahteine 6 years ago
parent
commit
35258dd50b
  1. 2
      Marlin/src/Marlin.cpp
  2. 2
      Marlin/src/gcode/control/M80_M81.cpp
  3. 15
      Marlin/src/gcode/temperature/M104_M109.cpp

2
Marlin/src/Marlin.cpp

@ -837,7 +837,7 @@ void setup() {
#endif
lcd_init();
LCD_MESSAGEPGM(WELCOME_MSG);
lcd_reset_status();
#if ENABLED(SHOW_BOOTSCREEN)
lcd_bootscreen();

2
Marlin/src/gcode/control/M80_M81.cpp

@ -82,7 +82,7 @@
#endif
#if ENABLED(ULTIPANEL)
LCD_MESSAGEPGM(WELCOME_MSG);
lcd_reset_status();
#endif
}

15
Marlin/src/gcode/temperature/M104_M109.cpp

@ -64,20 +64,11 @@ void GcodeSuite::M104() {
* standby mode, for instance in a dual extruder setup, without affecting
* the running print timer.
*/
if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
if (temp <= (EXTRUDE_MINTEMP) / 2) {
print_job_timer.stop();
LCD_MESSAGEPGM(WELCOME_MSG);
lcd_reset_status();
}
#endif
#if ENABLED(ULTRA_LCD)
if (parser.value_celsius() > thermalManager.degHotend(e))
#if HOTENDS > 1
lcd_status_printf_P(0, PSTR("E%i " MSG_HEATING), e + 1);
#else
LCD_MESSAGEPGM("E " MSG_HEATING);
#endif
#endif
}
#if ENABLED(AUTOTEMP)
@ -124,7 +115,7 @@ void GcodeSuite::M109() {
*/
if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
print_job_timer.stop();
LCD_MESSAGEPGM(WELCOME_MSG);
lcd_reset_status();
}
else
print_job_timer.start();

Loading…
Cancel
Save