Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions klippy/extras/dockable_probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self, config, aProbe):
gcode = self.printer.lookup_object('gcode')
gcode.register_command('GET_PROBE_STATUS',
self.cmd_GET_PROBE_STATUS,
self.cmd_GET_PROBE_STATUS_help)
desc=self.cmd_GET_PROBE_STATUS_help)

if not any([self.check_open_attach,
self.probe_sense_pin,
Expand Down Expand Up @@ -247,9 +247,11 @@ def parseCoord(name, expected_dims=3):

#Gcode Commands
self.gcode.register_command('ATTACH_PROBE',
self.cmd_ATTACH_PROBE)
self.cmd_ATTACH_PROBE,
desc='Attach probe to toolhead')
self.gcode.register_command('DETACH_PROBE',
self.cmd_DETACH_PROBE)
self.cmd_DETACH_PROBE,
desc='Detach/dock probe')

#Event Handlers
self.printer.register_event_handler('klippy:connect',
Expand Down