@@ -8051,7 +8051,7 @@ void menu_lcd_longpress_func(void)
8051
8051
// explicitely listed menus which are allowed to rise the move-z or live-adj-z functions
8052
8052
// The lists are not the same for both functions, so first decide which function is to be performed
8053
8053
if ( (moves_planned () || IS_SD_PRINTING || usb_timer.running () )){ // long press as live-adj-z
8054
- if (( current_position[Z_AXIS] < Z_HEIGHT_HIDE_LIVE_ADJUST_MENU ) // only allow live-adj-z up to 2mm of print height
8054
+ if (( current_position[Z_AXIS] < Z_HEIGHT_HIDE_LIVE_ADJUST_MENU ) // only allow live-adj-z up to 2mm of print height
8055
8055
&& ( menu_menu == lcd_status_screen // and in listed menus...
8056
8056
|| menu_menu == lcd_main_menu
8057
8057
|| menu_menu == lcd_tune_menu
@@ -8061,12 +8061,10 @@ void menu_lcd_longpress_func(void)
8061
8061
lcd_clear ();
8062
8062
menu_submenu (lcd_babystep_z);
8063
8063
} else {
8064
- // otherwise consume the long press as normal click
8065
- if ( menu_menu != lcd_status_screen )
8066
- menu_back ();
8064
+ lcd_quick_feedback ();
8067
8065
}
8068
8066
} else { // long press as move-z
8069
- if (menu_menu == lcd_status_screen
8067
+ if (menu_menu == lcd_status_screen
8070
8068
|| menu_menu == lcd_main_menu
8071
8069
|| menu_menu == lcd_preheat_menu
8072
8070
|| menu_menu == lcd_sdcard_menu
@@ -8079,9 +8077,7 @@ void menu_lcd_longpress_func(void)
8079
8077
){
8080
8078
menu_submenu (lcd_move_z);
8081
8079
} else {
8082
- // otherwise consume the long press as normal click
8083
- if ( menu_menu != lcd_status_screen )
8084
- menu_back ();
8080
+ lcd_quick_feedback ();
8085
8081
}
8086
8082
}
8087
8083
}
0 commit comments