1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00

Hide some menu items when busy

This commit is contained in:
Scott Lahteine 2018-10-09 23:00:20 -05:00
parent 3cb5517ddb
commit 50cbca4c55

View File

@ -1515,13 +1515,6 @@ void lcd_quick_feedback(const bool clear_buttons) {
MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1); MENU_ITEM_EDIT(float43, MSG_BED_Z, &mbl.z_offset, -1, 1);
#endif #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:
// Nozzle [1-4]: // Nozzle [1-4]:
@ -4036,8 +4029,10 @@ void lcd_quick_feedback(const bool clear_buttons) {
// M205 - Max Jerk // M205 - Max Jerk
MENU_ITEM(submenu, MSG_JERK, lcd_advanced_jerk_menu); MENU_ITEM(submenu, MSG_JERK, lcd_advanced_jerk_menu);
// M92 - Steps Per mm if (!printer_busy) {
MENU_ITEM(submenu, MSG_STEPS_PER_MM, lcd_advanced_steps_per_mm_menu); // M92 - Steps Per mm
MENU_ITEM(submenu, MSG_STEPS_PER_MM, lcd_advanced_steps_per_mm_menu);
}
#endif // !SLIM_LCD_MENUS #endif // !SLIM_LCD_MENUS