saving settings and then displaying the Z offset is saved
This commit is contained in:
parent
ef77725a06
commit
8138753749
@ -301,7 +301,10 @@ void scroll_screen(const uint8_t limit, const bool is_menu) {
|
|||||||
#include "../../feature/babystep.h"
|
#include "../../feature/babystep.h"
|
||||||
|
|
||||||
void lcd_babystep_zoffset() {
|
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();
|
ui.defer_status_screen();
|
||||||
const bool do_probe = DISABLED(BABYSTEP_HOTEND_Z_OFFSET) || active_extruder == 0;
|
const bool do_probe = DISABLED(BABYSTEP_HOTEND_Z_OFFSET) || active_extruder == 0;
|
||||||
if (ui.encoderPosition) {
|
if (ui.encoderPosition) {
|
||||||
|
@ -505,7 +505,7 @@ void menu_backlash();
|
|||||||
#if ENABLED(PROBE_OFFSET_WIZARD)
|
#if ENABLED(PROBE_OFFSET_WIZARD)
|
||||||
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
|
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
|
||||||
#endif
|
#endif
|
||||||
|
queue.inject_P(PSTR("M500\nM117 Z Offset Saved"));
|
||||||
END_MENU();
|
END_MENU();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user