delta: Use position_endstop for position_max

There's no reason for the user to specify position_max - it can be
inferred on deltas from the endstop positions.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-02-19 10:36:08 -05:00
parent 38e9484f9f
commit 29ba92a551
2 changed files with 4 additions and 6 deletions

View File

@@ -9,8 +9,7 @@
# The stepper_a section describes the stepper controlling the front
# left tower (at 210 degrees). This section also controls the homing
# parameters (homing_speed, homing_retract_dist) and maximum tower
# length (position_max) for all towers.
# parameters (homing_speed, homing_retract_dist) for all towers.
[stepper_a]
step_pin: ar54
dir_pin: ar55
@@ -19,7 +18,6 @@ step_distance: .01
endstop_pin: ^ar2
homing_speed: 50.0
position_endstop: 297.05
position_max: 297.55
# The stepper_b section describes the stepper controlling the front
# right tower (at 330 degrees)