Bläddra i källkod

No Z sensorless req'd if homing with probe

Fixes #16674
Scott Lahteine 4 år sedan
förälder
incheckning
e442663e2a
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5
    5
      Marlin/src/inc/SanityCheck.h

+ 5
- 5
Marlin/src/inc/SanityCheck.h Visa fil

@@ -2239,11 +2239,11 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
2239 2239
 
2240 2240
 // Sensorless homing is required for both combined steppers in an H-bot
2241 2241
 #if CORE_IS_XY && X_SENSORLESS != Y_SENSORLESS
2242
-  #error "CoreXY requires both X and Y to use sensorless homing if either does."
2243
-#elif CORE_IS_XZ && X_SENSORLESS != Z_SENSORLESS
2244
-  #error "CoreXZ requires both X and Z to use sensorless homing if either does."
2245
-#elif CORE_IS_YZ && Y_SENSORLESS != Z_SENSORLESS
2246
-  #error "CoreYZ requires both Y and Z to use sensorless homing if either does."
2242
+  #error "CoreXY requires both X and Y to use sensorless homing if either one does."
2243
+#elif CORE_IS_XZ && X_SENSORLESS != Z_SENSORLESS && !HOMING_Z_WITH_PROBE
2244
+  #error "CoreXZ requires both X and Z to use sensorless homing if either one does."
2245
+#elif CORE_IS_YZ && Y_SENSORLESS != Z_SENSORLESS && !HOMING_Z_WITH_PROBE
2246
+  #error "CoreYZ requires both Y and Z to use sensorless homing if either one does."
2247 2247
 #endif
2248 2248
 
2249 2249
 // Other TMC feature requirements

Laddar…
Avbryt
Spara