mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 23:10:25 +09:00
probe: Fix typo in activate/deactive error messages
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -330,14 +330,14 @@ class ProbeEndstopWrapper:
|
|||||||
self.deactivate_gcode.run_gcode_from_command()
|
self.deactivate_gcode.run_gcode_from_command()
|
||||||
if toolhead.get_position()[:3] != start_pos[:3]:
|
if toolhead.get_position()[:3] != start_pos[:3]:
|
||||||
raise self.printer.command_error(
|
raise self.printer.command_error(
|
||||||
"Toolhead moved during probe activate_gcode script")
|
"Toolhead moved during probe deactivate_gcode script")
|
||||||
def _lower_probe(self):
|
def _lower_probe(self):
|
||||||
toolhead = self.printer.lookup_object('toolhead')
|
toolhead = self.printer.lookup_object('toolhead')
|
||||||
start_pos = toolhead.get_position()
|
start_pos = toolhead.get_position()
|
||||||
self.activate_gcode.run_gcode_from_command()
|
self.activate_gcode.run_gcode_from_command()
|
||||||
if toolhead.get_position()[:3] != start_pos[:3]:
|
if toolhead.get_position()[:3] != start_pos[:3]:
|
||||||
raise self.printer.command_error(
|
raise self.printer.command_error(
|
||||||
"Toolhead moved during probe deactivate_gcode script")
|
"Toolhead moved during probe activate_gcode script")
|
||||||
def multi_probe_begin(self):
|
def multi_probe_begin(self):
|
||||||
if self.stow_on_each_sample:
|
if self.stow_on_each_sample:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user