Add warning when trying to use JD with kinematic systems (#15032)

This commit is contained in:
Daniel Callander 2019-08-25 10:43:53 +01:00 committed by Scott Lahteine
parent 7183a586d9
commit 155765646e

View file

@ -1009,6 +1009,13 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#endif
#endif
/**
* Junction deviation is not compatible with kinematic systems.
*/
#if ENABLED(JUNCTION_DEVIATION) && IS_KINEMATIC
#error "Junction deviation is only compatible with Cartesians."
#endif
/**
* Probes
*/