Merge branch '31-probe-does-not-save-when-exiting-menu' into 'master'
Resolve "Probe does not save when exiting menu" Closes #31 See merge request lulzbot3d/marlin!25
This commit is contained in:
commit
286de9d677
@ -301,7 +301,10 @@ void scroll_screen(const uint8_t limit, const bool is_menu) {
|
||||
#include "../../feature/babystep.h"
|
||||
|
||||
void lcd_babystep_zoffset() {
|
||||
if (ui.use_click()) return ui.goto_previous_screen_no_defer();
|
||||
if (ui.use_click()){
|
||||
queue.inject_P(PSTR("M500\nM117 Z Offset Saved"));
|
||||
return ui.goto_previous_screen_no_defer();
|
||||
}
|
||||
ui.defer_status_screen();
|
||||
const bool do_probe = DISABLED(BABYSTEP_HOTEND_Z_OFFSET) || active_extruder == 0;
|
||||
if (ui.encoderPosition) {
|
||||
|
@ -505,7 +505,7 @@ void menu_backlash();
|
||||
#if ENABLED(PROBE_OFFSET_WIZARD)
|
||||
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
|
||||
#endif
|
||||
|
||||
queue.inject_P(PSTR("M500\nM117 Z Offset Saved"));
|
||||
END_MENU();
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user