z_calibrate: uncomment probe commands

This commit is contained in:
Jordan Ruthe 2020-12-02 19:22:04 -05:00
parent 16f7d4543a
commit c182cc21f2

View File

@ -85,10 +85,9 @@ class ZCalibratePanel(ScreenPanel):
self._screen.add_subscription(panel_name) self._screen.add_subscription(panel_name)
def activate(self): def activate(self):
#if self._screen.printer.get_stat("toolhead","homed_axes") != "xyz": 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.HOME)
#self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_CALIBRATE) self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_CALIBRATE)
print("nothing")
def process_update(self, action, data): def process_update(self, action, data):
if action != "notify_status_update": if action != "notify_status_update":