mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-25 16:47:29 +08:00
🐛 Show probe/level menu for tramming (#27532)
This commit is contained in:
parent
095f060c24
commit
8df61893c3
@ -72,7 +72,7 @@ void menu_motion();
|
|||||||
void menu_temperature();
|
void menu_temperature();
|
||||||
void menu_configuration();
|
void menu_configuration();
|
||||||
|
|
||||||
#if HAS_LEVELING || HAS_BED_PROBE
|
#if ANY(HAS_LEVELING, HAS_BED_PROBE, ASSISTED_TRAMMING_WIZARD, LCD_BED_TRAMMING)
|
||||||
void menu_probe_level();
|
void menu_probe_level();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -338,7 +338,7 @@ void menu_main() {
|
|||||||
|
|
||||||
SUBMENU(MSG_MOTION, menu_motion);
|
SUBMENU(MSG_MOTION, menu_motion);
|
||||||
|
|
||||||
#if HAS_LEVELING || HAS_BED_PROBE
|
#if ANY(HAS_LEVELING, HAS_BED_PROBE, ASSISTED_TRAMMING_WIZARD, LCD_BED_TRAMMING)
|
||||||
SUBMENU(MSG_PROBE_AND_LEVEL, menu_probe_level);
|
SUBMENU(MSG_PROBE_AND_LEVEL, menu_probe_level);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
#include "../../inc/MarlinConfigPre.h"
|
#include "../../inc/MarlinConfigPre.h"
|
||||||
|
|
||||||
#if HAS_MARLINUI_MENU && (HAS_LEVELING || HAS_BED_PROBE)
|
#if HAS_MARLINUI_MENU && ANY(HAS_LEVELING, HAS_BED_PROBE, ASSISTED_TRAMMING_WIZARD, LCD_BED_TRAMMING)
|
||||||
|
|
||||||
#include "menu_item.h"
|
#include "menu_item.h"
|
||||||
|
|
||||||
@ -410,4 +410,4 @@ void menu_probe_level() {
|
|||||||
END_MENU();
|
END_MENU();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HAS_MARLINUI_MENU && (HAS_LEVELING || HAS_BED_PROBE)
|
#endif // HAS_MARLINUI_MENU && (HAS_LEVELING || HAS_BED_PROBE || ASSISTED_TRAMMING_WIZARD || LCD_BED_TRAMMING)
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||||
#define HAS_MENU_TOUCH_SCREEN
|
#define HAS_MENU_TOUCH_SCREEN
|
||||||
#endif
|
#endif
|
||||||
#if HAS_LEVELING || HAS_BED_PROBE
|
#if ANY(HAS_LEVELING, HAS_BED_PROBE, ASSISTED_TRAMMING_WIZARD, LCD_BED_TRAMMING)
|
||||||
#define HAS_MENU_PROBE_LEVEL
|
#define HAS_MENU_PROBE_LEVEL
|
||||||
#endif
|
#endif
|
||||||
#if ENABLED(ASSISTED_TRAMMING_WIZARD)
|
#if ENABLED(ASSISTED_TRAMMING_WIZARD)
|
||||||
|
Loading…
Reference in New Issue
Block a user