From 50cbca4c55243f34c84ced3f264fdc76f9fcdc93 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 9 Oct 2018 23:00:20 -0500 Subject: [PATCH] Hide some menu items when busy --- Marlin/src/lcd/ultralcd.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Marlin/src/lcd/ultralcd.cpp b/Marlin/src/lcd/ultralcd.cpp index 7c4578a1fb..449d3cd5f1 100644 --- a/Marlin/src/lcd/ultralcd.cpp +++ b/Marlin/src/lcd/ultralcd.cpp @@ -1515,13 +1515,6 @@ void lcd_quick_feedback(const bool clear_buttons) { MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1); #endif - // - // Leveling Fade Height - // - #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT) && DISABLED(SLIM_LCD_MENUS) - MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(float3, MSG_Z_FADE_HEIGHT, &new_z_fade_height, 0, 100, _lcd_set_z_fade_height); - #endif - // // Nozzle: // Nozzle [1-4]: @@ -4036,8 +4029,10 @@ void lcd_quick_feedback(const bool clear_buttons) { // M205 - Max Jerk MENU_ITEM(submenu, MSG_JERK, lcd_advanced_jerk_menu); - // M92 - Steps Per mm - MENU_ITEM(submenu, MSG_STEPS_PER_MM, lcd_advanced_steps_per_mm_menu); + if (!printer_busy) { + // M92 - Steps Per mm + MENU_ITEM(submenu, MSG_STEPS_PER_MM, lcd_advanced_steps_per_mm_menu); + } #endif // !SLIM_LCD_MENUS