From 26e818d900f56ce2857654f81a6fce68025c5202 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 4 Jan 2019 19:12:50 -0500 Subject: 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 --- klippy/homing.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'klippy/homing.py') 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 -- cgit v1.2.3-70-g09d2