|
|
@ -278,7 +278,6 @@ void Endstops::enable(const bool onoff) {
|
|
|
|
void Endstops::not_homing() {
|
|
|
|
void Endstops::not_homing() {
|
|
|
|
enabled = enabled_globally;
|
|
|
|
enabled = enabled_globally;
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
|
|
|
|
|
|
|
// Still 'enabled'? Then endstops are always on and kept in sync.
|
|
|
|
// Still 'enabled'? Then endstops are always on and kept in sync.
|
|
|
|
// Otherwise reset 'live's variables to let axes move in both directions.
|
|
|
|
// Otherwise reset 'live's variables to let axes move in both directions.
|
|
|
|
if (!enabled) {
|
|
|
|
if (!enabled) {
|
|
|
@ -288,7 +287,6 @@ void Endstops::not_homing() {
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
live_state = 0;
|
|
|
|
live_state = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(VALIDATE_HOMING_ENDSTOPS)
|
|
|
|
#if ENABLED(VALIDATE_HOMING_ENDSTOPS)
|
|
|
|