Some cleanup ahead of BLTOUCH support
This commit is contained in:
parent
253f843da5
commit
176b9627c7
1 changed files with 5 additions and 5 deletions
|
@ -359,11 +359,11 @@ void Stepper::isr() {
|
|||
if (current_block) {
|
||||
|
||||
// Update endstops state, if enabled
|
||||
#if HAS_BED_PROBE
|
||||
if (endstops.enabled || endstops.z_probe_enabled) endstops.update();
|
||||
#else
|
||||
if (endstops.enabled) endstops.update();
|
||||
#endif
|
||||
if (endstops.enabled
|
||||
#if HAS_BED_PROBE
|
||||
|| endstops.z_probe_enabled
|
||||
#endif
|
||||
) endstops.update();
|
||||
|
||||
// Take multiple steps per interrupt (For high speed moves)
|
||||
for (int8_t i = 0; i < step_loops; i++) {
|
||||
|
|
Reference in a new issue