mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 14:55:09 -06:00
probe: expose name on status report
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
This commit is contained in:
parent
2337d05f48
commit
87f109984a
2 changed files with 3 additions and 1 deletions
|
@ -195,7 +195,8 @@ class PrinterProbe:
|
|||
self.last_state = res
|
||||
gcmd.respond_info("probe: %s" % (["open", "TRIGGERED"][not not res],))
|
||||
def get_status(self, eventtime):
|
||||
return {'last_query': self.last_state,
|
||||
return {'name': self.name,
|
||||
'last_query': self.last_state,
|
||||
'last_z_result': self.last_z_result}
|
||||
cmd_PROBE_ACCURACY_help = "Probe Z-height accuracy at current XY position"
|
||||
def cmd_PROBE_ACCURACY(self, gcmd):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue