Prevent LCD long-press re-entry (fixes #1196)

This commit is contained in:
Yuri D'Elia 2019-08-05 18:22:56 +02:00
parent 3a87ff56f6
commit 33037d369c

View file

@ -8252,9 +8252,10 @@ uint8_t get_message_level()
void menu_lcd_longpress_func(void) void menu_lcd_longpress_func(void)
{ {
if (homing_flag || mesh_bed_leveling_flag) if (homing_flag || mesh_bed_leveling_flag || menu_menu == lcd_babystep_z || menu_menu == lcd_move_z)
{ {
// disable longpress while homing or calibration // disable longpress during re-entry, while homing or calibration
lcd_quick_feedback();
return; return;
} }