Переглянути джерело

Consistent heating status and status reset

Fix #10699
Scott Lahteine 6 роки тому
джерело
коміт
35258dd50b

+ 1
- 1
Marlin/src/Marlin.cpp Переглянути файл

@@ -837,7 +837,7 @@ void setup() {
837 837
   #endif
838 838
 
839 839
   lcd_init();
840
-  LCD_MESSAGEPGM(WELCOME_MSG);
840
+  lcd_reset_status();
841 841
 
842 842
   #if ENABLED(SHOW_BOOTSCREEN)
843 843
     lcd_bootscreen();

+ 1
- 1
Marlin/src/gcode/control/M80_M81.cpp Переглянути файл

@@ -82,7 +82,7 @@
82 82
     #endif
83 83
 
84 84
     #if ENABLED(ULTIPANEL)
85
-      LCD_MESSAGEPGM(WELCOME_MSG);
85
+      lcd_reset_status();
86 86
     #endif
87 87
   }
88 88
 

+ 3
- 12
Marlin/src/gcode/temperature/M104_M109.cpp Переглянути файл

@@ -64,20 +64,11 @@ void GcodeSuite::M104() {
64 64
        * standby mode, for instance in a dual extruder setup, without affecting
65 65
        * the running print timer.
66 66
        */
67
-      if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
67
+      if (temp <= (EXTRUDE_MINTEMP) / 2) {
68 68
         print_job_timer.stop();
69
-        LCD_MESSAGEPGM(WELCOME_MSG);
69
+        lcd_reset_status();
70 70
       }
71 71
     #endif
72
-
73
-    #if ENABLED(ULTRA_LCD)
74
-      if (parser.value_celsius() > thermalManager.degHotend(e))
75
-        #if HOTENDS > 1
76
-          lcd_status_printf_P(0, PSTR("E%i " MSG_HEATING), e + 1);
77
-        #else
78
-          LCD_MESSAGEPGM("E " MSG_HEATING);
79
-        #endif
80
-    #endif
81 72
   }
82 73
 
83 74
   #if ENABLED(AUTOTEMP)
@@ -124,7 +115,7 @@ void GcodeSuite::M109() {
124 115
        */
125 116
       if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
126 117
         print_job_timer.stop();
127
-        LCD_MESSAGEPGM(WELCOME_MSG);
118
+        lcd_reset_status();
128 119
       }
129 120
       else
130 121
         print_job_timer.start();

Завантаження…
Відмінити
Зберегти