diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-01-04 19:12:50 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-01-21 09:52:11 -0500 |
commit | 26e818d900f56ce2857654f81a6fce68025c5202 (patch) | |
tree | fbedddf2b9cbef3078a6703b120bb37943f19f40 /klippy/homing.py | |
parent | 293366d0334b1d21802db08016394ccdefa1af50 (diff) | |
download | kutter-26e818d900f56ce2857654f81a6fce68025c5202.tar.gz kutter-26e818d900f56ce2857654f81a6fce68025c5202.tar.xz kutter-26e818d900f56ce2857654f81a6fce68025c5202.zip |
bltouch: Verify probe always deploys during a homing operation
Verify that there is always some movement during a probing operation.
This is normally done by the homing.py code (via its verify_movement
check), but that check may not be enabled when z_virtual_endstop is
used. So, always enable the check in the bltouch.py code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/homing.py')
-rw-r--r-- | klippy/homing.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/klippy/homing.py b/klippy/homing.py index 9e2995fe..ea8967b4 100644 --- a/klippy/homing.py +++ b/klippy/homing.py @@ -78,7 +78,11 @@ class Homing: else: self.toolhead.set_position(movepos) for mcu_endstop, name in endstops: - mcu_endstop.home_finalize() + try: + mcu_endstop.home_finalize() + except EndstopError as e: + if error is None: + error = str(e) if error is not None: raise EndstopError(error) # Check if some movement occurred |