|
@@ -771,6 +771,15 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
771
|
771
|
#error "BABYSTEP_HOTEND_Z_OFFSET requires 2 or more HOTENDS."
|
772
|
772
|
#elif BOTH(BABYSTEP_ALWAYS_AVAILABLE, MOVE_Z_WHEN_IDLE)
|
773
|
773
|
#error "BABYSTEP_ALWAYS_AVAILABLE and MOVE_Z_WHEN_IDLE are incompatible."
|
|
774
|
+ #elif !defined(BABYSTEP_MULTIPLICATOR_Z)
|
|
775
|
+ #error "BABYSTEPPING requires BABYSTEP_MULTIPLICATOR_Z."
|
|
776
|
+ #elif ENABLED(BABYSTEP_XY) && !defined(BABYSTEP_MULTIPLICATOR_XY)
|
|
777
|
+ #error "BABYSTEP_XY requires BABYSTEP_MULTIPLICATOR_XY."
|
|
778
|
+ #elif ENABLED(BABYSTEP_MILLIMETER_UNITS)
|
|
779
|
+ static_assert(BABYSTEP_MULTIPLICATOR_Z <= 0.1f, "BABYSTEP_MULTIPLICATOR_Z must be less or equal to 0.1mm.");
|
|
780
|
+ #if ENABLED(BABYSTEP_XY)
|
|
781
|
+ static_assert(BABYSTEP_MULTIPLICATOR_XY <= 0.25f, "BABYSTEP_MULTIPLICATOR_XY must be less than or equal to 0.25mm.");
|
|
782
|
+ #endif
|
774
|
783
|
#endif
|
775
|
784
|
#endif
|
776
|
785
|
|