mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-10-26 07:46:11 +01:00
force_move: Implement CLEAR for SET_KINEMATIC_POSITION (#6262)
`CLEAR` clears the homing status (resets the axis limits) without turning off the motors. This is particularly useful when implementing safe Z homing in `[homing_override]` on printers with multiple independent Z steppers (where `FORCE_MOVE` can't be used). Signed-off-by: Dennis Marttinen <twelho@welho.tech>
This commit is contained in:
@@ -403,7 +403,7 @@ class PrinterRail:
|
||||
changed_invert = pin_params['invert'] != endstop['invert']
|
||||
changed_pullup = pin_params['pullup'] != endstop['pullup']
|
||||
if changed_invert or changed_pullup:
|
||||
raise error("Pinter rail %s shared endstop pin %s "
|
||||
raise error("Printer rail %s shared endstop pin %s "
|
||||
"must specify the same pullup/invert settings" % (
|
||||
self.get_name(), pin_name))
|
||||
mcu_endstop.add_stepper(stepper)
|
||||
|
||||
Reference in New Issue
Block a user