Do a hard kill for failed homing moves (#11161)
This commit is contained in:
1 parent
90ba77ea0f
commit
c51e27d11d
8 files changed
+20
-24
No files matched your search
@@ -256,6 +256,12 @@ void Endstops::not_homing() {
|
||||
#endif
|
||||
}
|
||||
|
||||
// If the last move failed to trigger an endstop, call kill
|
||||
void Endstops::validate_homing_move() {
|
||||
if (!trigger_state()) kill(PSTR(MSG_ERR_HOMING_FAILED));
|
||||
hit_on_purpose();
|
||||
}
|
||||
|
||||
// Enable / disable endstop z-probe checking
|
||||
#if HAS_BED_PROBE
|
||||
void Endstops::enable_z_probe(const bool onoff) {
|
||||
|
||||
Reference in new issue
Block a user