[2.0.x] Add NO_LCD_MENUS option (#10582)

This commit is contained in:
Scott Lahteine
2018-04-30 21:16:31 -05:00
committed by GitHub
parent 524cc392f4
commit 05c33833e7
117 changed files with 679 additions and 229 deletions

View File

@ -422,7 +422,9 @@ inline bool turn_on_heaters() {
if (g26_bed_temp > 25) {
lcd_setstatusPGM(PSTR("G26 Heating Bed."), 99);
lcd_quick_feedback(true);
lcd_external_control = true;
#if ENABLED(NEWPANEL)
lcd_external_control = true;
#endif
#endif
thermalManager.setTargetBed(g26_bed_temp);
while (abs(thermalManager.degBed() - g26_bed_temp) > 3) {
@ -729,7 +731,7 @@ void GcodeSuite::G26() {
move_to(destination, 0.0);
move_to(destination, g26_ooze_amount);
#if ENABLED(ULTRA_LCD)
#if ENABLED(NEWPANEL)
lcd_external_control = true;
#endif
@ -834,7 +836,7 @@ void GcodeSuite::G26() {
move_to(destination, 0); // Move back to the starting position
//debug_current_and_destination(PSTR("done doing X/Y move."));
#if ENABLED(ULTRA_LCD)
#if ENABLED(NEWPANEL)
lcd_external_control = false; // Give back control of the LCD Panel!
#endif