Option to force X or Y to home first when homing the other axis

This commit is contained in:
Kevin
2018-02-16 16:59:44 +01:00
committed by Scott Lahteine
parent 60fc372211
commit 9019ea0fce
4 changed files with 28 additions and 9 deletions

View File

@ -886,12 +886,20 @@ static_assert(1 >= 0
#endif
/**
* Homing Bump
* Homing
*/
#if X_HOME_BUMP_MM < 0 || Y_HOME_BUMP_MM < 0 || Z_HOME_BUMP_MM < 0
#error "[XYZ]_HOME_BUMP_MM must be greater than or equal to 0."
#endif
#if ENABLED(CODEPENDENT_XY_HOMING)
#if ENABLED(QUICK_HOME)
#error "QUICK_HOME is incompatible with CODEPENDENT_XY_HOMING."
#elif IS_KINEMATIC
#error "CODEPENDENT_XY_HOMING requires a Cartesian setup."
#endif
#endif
/**
* Make sure Z_SAFE_HOMING point is reachable
*/