Browse Source

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

Yuri D'Elia 4 years ago
parent
commit
33037d369c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Firmware/ultralcd.cpp

+ 3 - 2
Firmware/ultralcd.cpp

@@ -8252,9 +8252,10 @@ uint8_t get_message_level()
 
 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;
     }