Browse Source

Merge pull request #7232 from fiveangle/disable_xyz_compatibility_check

DISABLE_[XYZ] compatibility check
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
b8066fb36f
  1. 9
      Marlin/SanityCheck.h

9
Marlin/SanityCheck.h

@ -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…
Cancel
Save