DISABLE_[XYZ] compatibility check
DISABLE_[XYZ] is incompatible with HOME_AFTER_DEACTIVATE and Z_SAFE_HOMING
This commit is contained in:
parent
df87278fce
commit
20f6676d63
@ -752,6 +752,15 @@ static_assert(1 >= 0
|
||||
#endif
|
||||
#endif // Z_SAFE_HOMING
|
||||
|
||||
/**
|
||||
* Make sure DISABLE_[XYZ] compatible with selected homing options
|
||||
*/
|
||||
#if ENABLED(DISABLE_X) || ENABLED(DISABLE_Y) || ENABLED(DISABLE_Z)
|
||||
#if ENABLED(HOME_AFTER_DEACTIVATE) || ENABLED(Z_SAFE_HOMING)
|
||||
#error "DISABLE_[XYZ] not compatible with HOME_AFTER_DEACTIVATE or Z_SAFE_HOMING."
|
||||
#endif
|
||||
#endif // DISABLE_[XYZ]
|
||||
|
||||
/**
|
||||
* Advance Extrusion
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user