Only calls BED_MESH_CLEAR if bed_mesh enabled (#1460)
This commit is contained in:
parent
844eaba1ee
commit
d99048d29f
@ -216,6 +216,7 @@ class Panel(ScreenPanel):
|
||||
self.dropdown.set_sensitive(False)
|
||||
|
||||
self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0")
|
||||
if self._printer.config_section_exists("bed_mesh"):
|
||||
self._screen._ws.klippy.gcode_script("BED_MESH_CLEAR")
|
||||
if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
|
||||
self._screen._ws.klippy.gcode_script("G28")
|
||||
|
Loading…
x
Reference in New Issue
Block a user