Do a hard kill for failed homing moves (#11161)

This commit is contained in:
Scott Lahteine
2018-06-30 21:54:07 -05:00
committed by GitHub
parent 90ba77ea0f
commit c51e27d11d
8 changed files with 20 additions and 24 deletions

View File

@ -144,6 +144,9 @@ class Endstops {
// Disable / Enable endstops based on ENSTOPS_ONLY_FOR_HOMING and global enable
static void not_homing();
// If the last move failed to trigger an endstop, call kill
static void validate_homing_move();
// Clear endstops (i.e., they were hit intentionally) to suppress the report
FORCE_INLINE static void hit_on_purpose() { hit_state = 0; }