0
0
Fork 0
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:
Scott Lahteine 2024-08-21 18:09:43 -05:00
parent c84bea7110
commit 9b472a02e9
3 changed files with 8 additions and 2 deletions

View file

@ -1640,6 +1640,7 @@
#define PROBE_TARE_DELAY 200 // (ms) Delay after tare before
#define PROBE_TARE_STATE HIGH // State to write pin for tare
//#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)
//#define PROBE_TARE_ONLY_WHILE_INACTIVE // Fail to tare/probe if PROBE_ACTIVATION_SWITCH is active
#endif

View file

@ -305,8 +305,8 @@
* THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD
*/
#if ALL(HAS_HOTEND, THERMAL_PROTECTION_HOTENDS)
#define THERMAL_PROTECTION_PERIOD 40 // (seconds)
#define THERMAL_PROTECTION_HYSTERESIS 4 // (°C)
#define THERMAL_PROTECTION_PERIOD 40 // (seconds)
#define THERMAL_PROTECTION_HYSTERESIS 4 // (°C)
//#define ADAPTIVE_FAN_SLOWING // Slow down the part-cooling fan if the temperature drops
#if ENABLED(ADAPTIVE_FAN_SLOWING)

View file

@ -296,6 +296,11 @@ void menu_bed_leveling() {
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
#endif
// Tare the probe on-demand
#if ENABLED(PROBE_TARE_MENU)
ACTION_ITEM(MSG_TARE_PROBE, probe.tare);
#endif
#if ENABLED(LCD_BED_TRAMMING)
SUBMENU(MSG_BED_TRAMMING, _lcd_bed_tramming);
#endif