Просмотр исходного кода

Consistent heating status and status reset

Fix #10699
Scott Lahteine 7 лет назад
Родитель
Сommit
35258dd50b
3 измененных файлов: 5 добавлений и 14 удалений
  1. 1
    1
      Marlin/src/Marlin.cpp
  2. 1
    1
      Marlin/src/gcode/control/M80_M81.cpp
  3. 3
    12
      Marlin/src/gcode/temperature/M104_M109.cpp

+ 1
- 1
Marlin/src/Marlin.cpp Просмотреть файл

837
   #endif
837
   #endif
838
 
838
 
839
   lcd_init();
839
   lcd_init();
840
-  LCD_MESSAGEPGM(WELCOME_MSG);
840
+  lcd_reset_status();
841
 
841
 
842
   #if ENABLED(SHOW_BOOTSCREEN)
842
   #if ENABLED(SHOW_BOOTSCREEN)
843
     lcd_bootscreen();
843
     lcd_bootscreen();

+ 1
- 1
Marlin/src/gcode/control/M80_M81.cpp Просмотреть файл

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

+ 3
- 12
Marlin/src/gcode/temperature/M104_M109.cpp Просмотреть файл

64
        * standby mode, for instance in a dual extruder setup, without affecting
64
        * standby mode, for instance in a dual extruder setup, without affecting
65
        * the running print timer.
65
        * the running print timer.
66
        */
66
        */
67
-      if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
67
+      if (temp <= (EXTRUDE_MINTEMP) / 2) {
68
         print_job_timer.stop();
68
         print_job_timer.stop();
69
-        LCD_MESSAGEPGM(WELCOME_MSG);
69
+        lcd_reset_status();
70
       }
70
       }
71
     #endif
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
   #if ENABLED(AUTOTEMP)
74
   #if ENABLED(AUTOTEMP)
124
        */
115
        */
125
       if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
116
       if (parser.value_celsius() <= (EXTRUDE_MINTEMP) / 2) {
126
         print_job_timer.stop();
117
         print_job_timer.stop();
127
-        LCD_MESSAGEPGM(WELCOME_MSG);
118
+        lcd_reset_status();
128
       }
119
       }
129
       else
120
       else
130
         print_job_timer.start();
121
         print_job_timer.start();

Загрузка…
Отмена
Сохранить