zcalibrate: do not use safe_z if the printer has an endstop
This commit is contained in:
parent
74e9f61c40
commit
01193c203c
@ -151,7 +151,8 @@ class Panel(ScreenPanel):
|
||||
speed = self.probe['speed']
|
||||
|
||||
# Use safe_z_home position
|
||||
if "safe_z_home" in self._printer.get_config_section_list():
|
||||
if ("safe_z_home" in self._printer.get_config_section_list() and
|
||||
"Z_ENDSTOP_CALIBRATE" not in self._printer.available_commands):
|
||||
safe_z = self._printer.get_config_section("safe_z_home")
|
||||
safe_z_xy = safe_z['home_xy_position']
|
||||
safe_z_xy = [str(i.strip()) for i in safe_z_xy.split(',')]
|
||||
|
Loading…
x
Reference in New Issue
Block a user