Skip to content

Commit a0da7e8

Browse files
committed
🔧 Fewer alerts about Z_SAFE_HOMING
1 parent e2452d6 commit a0da7e8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Marlin/src/inc/SanityCheck.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1660,10 +1660,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
16601660
#error "Z_PROBE_LOW_POINT must be less than or equal to 0."
16611661
#endif
16621662

1663-
#if HOMING_Z_WITH_PROBE && IS_CARTESIAN && DISABLED(Z_SAFE_HOMING)
1664-
#error "Z_SAFE_HOMING is recommended when homing with a probe. Enable it or comment out this line to continue."
1665-
#endif
1666-
16671663
#if ENABLED(PROBE_ACTIVATION_SWITCH)
16681664
#ifndef PROBE_ACTIVATION_SWITCH_STATE
16691665
#error "PROBE_ACTIVATION_SWITCH_STATE is required for PROBE_ACTIVATION_SWITCH."

Marlin/src/inc/Warnings.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,3 +484,7 @@
484484
#if ENABLED(EMIT_CREALITY_422_WARNING) || MB(CREALITY_V4)
485485
#warning "Creality 4.2.2 boards may have A4988 or TMC2208_STANDALONE drivers. Check your board and make sure to select the correct DRIVER_TYPE!"
486486
#endif
487+
488+
#if HOMING_Z_WITH_PROBE && IS_CARTESIAN && DISABLED(Z_SAFE_HOMING)
489+
#error "Z_SAFE_HOMING is recommended when homing with a probe. Enable Z_SAFE_HOMING or comment out this line to continue."
490+
#endif

0 commit comments

Comments
 (0)