Browse Source

Tweaks for lcd_external_control

pull/1/head
Scott Lahteine 7 years ago
parent
commit
b49acce035
  1. 2
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  2. 2
      Marlin/src/gcode/bedlevel/G26.cpp

2
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

@ -1009,11 +1009,9 @@
SERIAL_PROTOCOLLNPGM("\nMesh only partially populated."); SERIAL_PROTOCOLLNPGM("\nMesh only partially populated.");
do_blocking_move_to_z(Z_CLEARANCE_DEPLOY_PROBE); do_blocking_move_to_z(Z_CLEARANCE_DEPLOY_PROBE);
#if ENABLED(NEWPANEL)
lcd_quick_feedback(); lcd_quick_feedback();
while (is_lcd_clicked()) idle(); while (is_lcd_clicked()) idle();
lcd_external_control = false; lcd_external_control = false;
#endif
KEEPALIVE_STATE(IN_HANDLER); KEEPALIVE_STATE(IN_HANDLER);
restore_ubl_active_state_and_leave(); restore_ubl_active_state_and_leave();

2
Marlin/src/gcode/bedlevel/G26.cpp

@ -517,13 +517,11 @@ bool prime_nozzle() {
while (is_lcd_clicked()) idle(); // Debounce Encoder Wheel while (is_lcd_clicked()) idle(); // Debounce Encoder Wheel
#if ENABLED(ULTRA_LCD)
strcpy_P(lcd_status_message, PSTR("Done Priming")); // We can't do lcd_setstatusPGM() without having it continue; strcpy_P(lcd_status_message, PSTR("Done Priming")); // We can't do lcd_setstatusPGM() without having it continue;
// So... We cheat to get a message up. // So... We cheat to get a message up.
lcd_setstatusPGM(PSTR("Done Priming"), 99); lcd_setstatusPGM(PSTR("Done Priming"), 99);
lcd_quick_feedback(); lcd_quick_feedback();
lcd_external_control = false; lcd_external_control = false;
#endif
} }
else else
#endif #endif

Loading…
Cancel
Save