mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-22 17:52:57 +00:00
✨ PROBE_TARE_MENU
This commit is contained in:
parent
c84bea7110
commit
9b472a02e9
3 changed files with 8 additions and 2 deletions
|
@ -1640,6 +1640,7 @@
|
||||||
#define PROBE_TARE_DELAY 200 // (ms) Delay after tare before
|
#define PROBE_TARE_DELAY 200 // (ms) Delay after tare before
|
||||||
#define PROBE_TARE_STATE HIGH // State to write pin for tare
|
#define PROBE_TARE_STATE HIGH // State to write pin for tare
|
||||||
//#define PROBE_TARE_PIN PA5 // Override default pin
|
//#define PROBE_TARE_PIN PA5 // Override default pin
|
||||||
|
//#define PROBE_TARE_MENU // Display a menu item to tare the probe
|
||||||
#if ENABLED(PROBE_ACTIVATION_SWITCH)
|
#if ENABLED(PROBE_ACTIVATION_SWITCH)
|
||||||
//#define PROBE_TARE_ONLY_WHILE_INACTIVE // Fail to tare/probe if PROBE_ACTIVATION_SWITCH is active
|
//#define PROBE_TARE_ONLY_WHILE_INACTIVE // Fail to tare/probe if PROBE_ACTIVATION_SWITCH is active
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -296,6 +296,11 @@ void menu_bed_leveling() {
|
||||||
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
|
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Tare the probe on-demand
|
||||||
|
#if ENABLED(PROBE_TARE_MENU)
|
||||||
|
ACTION_ITEM(MSG_TARE_PROBE, probe.tare);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(LCD_BED_TRAMMING)
|
#if ENABLED(LCD_BED_TRAMMING)
|
||||||
SUBMENU(MSG_BED_TRAMMING, _lcd_bed_tramming);
|
SUBMENU(MSG_BED_TRAMMING, _lcd_bed_tramming);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue