diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-10-24 00:22:58 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-10-24 00:22:58 -0400 |
commit | c2c79ff98d6f5ff0305d69afbbb72a7113ba6251 (patch) | |
tree | e7a1e693a95006087406378e547696ca3fb3fa41 /klippy/extras/bltouch.py | |
parent | 1b6b7fc58c5037256f9d0935c94916a51bdfd6b3 (diff) | |
download | kutter-c2c79ff98d6f5ff0305d69afbbb72a7113ba6251.tar.gz kutter-c2c79ff98d6f5ff0305d69afbbb72a7113ba6251.tar.xz kutter-c2c79ff98d6f5ff0305d69afbbb72a7113ba6251.zip |
bltouch: Fix bug causing incorrect position when "stow_on_each_sample=False"
It is only valid to call raise_probe() when the toolhead is not
moving. Make sure to call sync_print_time() from multi_probe_end() to
ensure that. This fixes a bug that could cause the Z axis steppers to
lose their position when "stow_on_each_sample=False".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/bltouch.py')
-rw-r--r-- | klippy/extras/bltouch.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py index a73e9ab4..e754f93f 100644 --- a/klippy/extras/bltouch.py +++ b/klippy/extras/bltouch.py @@ -173,6 +173,7 @@ class BLTouchEndstopWrapper: def multi_probe_end(self): if self.stow_on_each_sample: return + self.sync_print_time() self.raise_probe() self.sync_print_time() self.multi = 'OFF' |