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

This commit is contained in:
Scott Lahteine 2018-02-18 01:06:57 -06:00
parent d413781b98
commit 2e5a6243df
4 changed files with 35 additions and 9 deletions

View file

@ -888,12 +888,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
*/