Skip to content

Commit 9b472a0

Browse files
committed
✨ PROBE_TARE_MENU
1 parent c84bea7 commit 9b472a0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Marlin/Configuration.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,6 +1640,7 @@
16401640
#define PROBE_TARE_DELAY 200 // (ms) Delay after tare before
16411641
#define PROBE_TARE_STATE HIGH // State to write pin for tare
16421642
//#define PROBE_TARE_PIN PA5 // Override default pin
1643+
//#define PROBE_TARE_MENU // Display a menu item to tare the probe
16431644
#if ENABLED(PROBE_ACTIVATION_SWITCH)
16441645
//#define PROBE_TARE_ONLY_WHILE_INACTIVE // Fail to tare/probe if PROBE_ACTIVATION_SWITCH is active
16451646
#endif

Marlin/Configuration_adv.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,8 @@
305305
* THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD
306306
*/
307307
#if ALL(HAS_HOTEND, THERMAL_PROTECTION_HOTENDS)
308-
#define THERMAL_PROTECTION_PERIOD 40 // (seconds)
309-
#define THERMAL_PROTECTION_HYSTERESIS 4 // (°C)
308+
#define THERMAL_PROTECTION_PERIOD 40 // (seconds)
309+
#define THERMAL_PROTECTION_HYSTERESIS 4 // (°C)
310310

311311
//#define ADAPTIVE_FAN_SLOWING // Slow down the part-cooling fan if the temperature drops
312312
#if ENABLED(ADAPTIVE_FAN_SLOWING)

Marlin/src/lcd/menu/menu_bed_leveling.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,11 @@ void menu_bed_leveling() {
296296
SUBMENU(MSG_PROBE_WIZARD, goto_probe_offset_wizard);
297297
#endif
298298

299+
// Tare the probe on-demand
300+
#if ENABLED(PROBE_TARE_MENU)
301+
ACTION_ITEM(MSG_TARE_PROBE, probe.tare);
302+
#endif
303+
299304
#if ENABLED(LCD_BED_TRAMMING)
300305
SUBMENU(MSG_BED_TRAMMING, _lcd_bed_tramming);
301306
#endif

0 commit comments

Comments
 (0)