Browse Source

🔧 Fewer alerts about Z_SAFE_HOMING

Scott Lahteine 3 years ago
parent
commit
6a6bf0fd1b
2 changed files with 4 additions and 4 deletions
  1. 0
    4
      Marlin/src/inc/SanityCheck.h
  2. 4
    0
      Marlin/src/inc/Warnings.cpp

+ 0
- 4
Marlin/src/inc/SanityCheck.h View File

1660
     #error "Z_PROBE_LOW_POINT must be less than or equal to 0."
1660
     #error "Z_PROBE_LOW_POINT must be less than or equal to 0."
1661
   #endif
1661
   #endif
1662
 
1662
 
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
-
1667
   #if ENABLED(PROBE_ACTIVATION_SWITCH)
1663
   #if ENABLED(PROBE_ACTIVATION_SWITCH)
1668
     #ifndef PROBE_ACTIVATION_SWITCH_STATE
1664
     #ifndef PROBE_ACTIVATION_SWITCH_STATE
1669
       #error "PROBE_ACTIVATION_SWITCH_STATE is required for PROBE_ACTIVATION_SWITCH."
1665
       #error "PROBE_ACTIVATION_SWITCH_STATE is required for PROBE_ACTIVATION_SWITCH."

+ 4
- 0
Marlin/src/inc/Warnings.cpp View File

484
 #if ENABLED(EMIT_CREALITY_422_WARNING) || MB(CREALITY_V4)
484
 #if ENABLED(EMIT_CREALITY_422_WARNING) || MB(CREALITY_V4)
485
   #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!"
485
   #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!"
486
 #endif
486
 #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

Loading…
Cancel
Save