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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user