mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 13:25:54 +00:00
🔧 Assert zero Z homing clearance for some (#27370)
This commit is contained in:
parent
41d53a15f2
commit
3743980192
@ -1776,7 +1776,10 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i
|
||||
* Make sure Z_CLEARANCE_FOR_HOMING is below Z_MAX_POS
|
||||
*/
|
||||
#if HAS_Z_AXIS
|
||||
static_assert(Z_CLEARANCE_FOR_HOMING <= Z_MAX_POS, "Z_CLEARANCE_FOR_HOMING must be smaller than or equal to Z_MAX_POS.");
|
||||
static_assert(Z_CLEARANCE_FOR_HOMING <= Z_MAX_POS, "Z_CLEARANCE_FOR_HOMING must be less than or equal to Z_MAX_POS.");
|
||||
#if ALL(Z_HOME_TO_MAX, HOME_Z_FIRST) && NONE(DELTA, TPARA)
|
||||
static_assert(Z_CLEARANCE_FOR_HOMING == 0, "Z_CLEARANCE_FOR_HOMING must be 0.");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Check Safe Bed Leveling settings
|
||||
|
@ -52,7 +52,8 @@ opt_set MOTHERBOARD BOARD_RAMBO \
|
||||
MANUAL_FEEDRATE '{ 50*60, 50*60, 4*60 }' \
|
||||
AXIS_RELATIVE_MODES '{ false, false, false }' \
|
||||
BED_TRAMMING_LEVELING_ORDER '{ LF, RF }' \
|
||||
X2_DRIVER_TYPE A4988 Y2_DRIVER_TYPE A4988
|
||||
X2_DRIVER_TYPE A4988 Y2_DRIVER_TYPE A4988 \
|
||||
Z_CLEARANCE_FOR_HOMING 0
|
||||
opt_enable REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER REVERSE_ENCODER_DIRECTION SDSUPPORT EEPROM_SETTINGS \
|
||||
S_CURVE_ACCELERATION X_DUAL_ENDSTOPS Y_DUAL_ENDSTOPS \
|
||||
ADAPTIVE_STEP_SMOOTHING CNC_COORDINATE_SYSTEMS GCODE_MOTION_MODES \
|
||||
|
Loading…
Reference in New Issue
Block a user