mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
LCD corner screen handler lambda
This commit is contained in:
parent
711703dcd1
commit
84ce3a6bea
@ -88,6 +88,7 @@ static inline void _lcd_level_bed_corners_homing() {
|
|||||||
_lcd_draw_homing();
|
_lcd_draw_homing();
|
||||||
if (all_axes_homed()) {
|
if (all_axes_homed()) {
|
||||||
bed_corner = 0;
|
bed_corner = 0;
|
||||||
|
ui.goto_screen([]{
|
||||||
MenuItem_confirm::select_screen(
|
MenuItem_confirm::select_screen(
|
||||||
GET_TEXT(MSG_BUTTON_NEXT), GET_TEXT(MSG_BUTTON_DONE),
|
GET_TEXT(MSG_BUTTON_NEXT), GET_TEXT(MSG_BUTTON_DONE),
|
||||||
_lcd_goto_next_corner,
|
_lcd_goto_next_corner,
|
||||||
@ -105,6 +106,7 @@ static inline void _lcd_level_bed_corners_homing() {
|
|||||||
#endif
|
#endif
|
||||||
), (PGM_P)nullptr, PSTR("?")
|
), (PGM_P)nullptr, PSTR("?")
|
||||||
);
|
);
|
||||||
|
});
|
||||||
ui.set_selection(true);
|
ui.set_selection(true);
|
||||||
_lcd_goto_next_corner();
|
_lcd_goto_next_corner();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user