Fix reset of endstops and move state

This commit is contained in:
Scott Lahteine
2018-05-24 19:28:15 -05:00
parent 50fa8e01c1
commit 7261f48872
3 changed files with 5 additions and 12 deletions

View File

@ -263,15 +263,6 @@ void Endstops::not_homing() {
#endif
}
// Clear endstops (i.e., they were hit intentionally) to suppress the report
void Endstops::hit_on_purpose() {
hit_state = 0;
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
if (enabled) update(); // If enabling, update state now
#endif
}
// Enable / disable endstop z-probe checking
#if HAS_BED_PROBE
void Endstops::enable_z_probe(bool onoff) {