From c182cc21f2acb20710274a44cd59dd694883bc39 Mon Sep 17 00:00:00 2001 From: Jordan Ruthe Date: Wed, 2 Dec 2020 19:22:04 -0500 Subject: [PATCH] z_calibrate: uncomment probe commands --- panels/zcalibrate.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/panels/zcalibrate.py b/panels/zcalibrate.py index 6ceb86be..8690ea82 100644 --- a/panels/zcalibrate.py +++ b/panels/zcalibrate.py @@ -85,10 +85,9 @@ class ZCalibratePanel(ScreenPanel): self._screen.add_subscription(panel_name) def activate(self): - #if self._screen.printer.get_stat("toolhead","homed_axes") != "xyz": - # self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) - #self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_CALIBRATE) - print("nothing") + if self._screen.printer.get_stat("toolhead","homed_axes") != "xyz": + self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) + self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_CALIBRATE) def process_update(self, action, data): if action != "notify_status_update":