mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-16 03:07:56 -06:00
homing: Check for timeout during homing operation
Should a homing move complete without hitting the endstop, then disable motors, disable the endstop checking, and report the error to the user. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4f30dce64f
commit
e0aa067cc9
4 changed files with 46 additions and 18 deletions
|
@ -151,6 +151,9 @@ class GCodeParser:
|
|||
def busy_handler(self, eventtime):
|
||||
try:
|
||||
busy = self.busy_state.check_busy(eventtime)
|
||||
except homing.EndstopError, e:
|
||||
self.respond("Error: %s" % (e,))
|
||||
busy = False
|
||||
except:
|
||||
logging.exception("Exception in busy handler")
|
||||
self.toolhead.force_shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue