klippygcodes: simplify and remove some alias that are irrelevant

This commit is contained in:
alfrix
2023-08-07 12:30:28 -03:00
committed by Alfredo Monclus
parent 9ba8d04861
commit e7b58edfbf
8 changed files with 18 additions and 53 deletions

View File

@@ -263,7 +263,7 @@ class Panel(ScreenPanel):
def calibrate_mesh(self, widget):
self._screen.show_popup_message(_("Calibrating"), level=1)
if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self._screen._ws.klippy.gcode_script("G28")
self._screen._ws.klippy.gcode_script("BED_MESH_CALIBRATE")