probe: Infer position_endstop when using probe:z_virtual_offset

Don't require (or permit) the user to specify a stepper_z
position_endstop when using the probe:z_virtual_offset mechanism.  In
that case the position_endstop should always equal the probe's
z_offset - so no need to have the user specify it.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-09-26 19:29:58 -04:00
committed by KevinOConnor
parent a9a0bb87fa
commit c5d4e14298
5 changed files with 15 additions and 43 deletions

View File

@@ -30,8 +30,6 @@ deactivate_gcode:
# Example bed_tilt config section
[bed_tilt]
#x_adjust:
#y_adjust:
points:
100,100
10,10
@@ -45,8 +43,8 @@ points:
# If the BLTouch is used to home the Z axis, then define a
# homing_override section, use probe:z_virtual_endstop as the
# endstop_pin in the stepper_z section, and set the position_endstop
# in the stepper_z section to match the probe's z_offset.
# endstop_pin in the stepper_z section, and do not set
# position_endstop in the stepper_z section.
#[homing_override]
#set_position_z: 5
#axes: z