|
@@ -359,11 +359,11 @@ void Stepper::isr() {
|
359
|
359
|
if (current_block) {
|
360
|
360
|
|
361
|
361
|
// Update endstops state, if enabled
|
362
|
|
- #if HAS_BED_PROBE
|
363
|
|
- if (endstops.enabled || endstops.z_probe_enabled) endstops.update();
|
364
|
|
- #else
|
365
|
|
- if (endstops.enabled) endstops.update();
|
366
|
|
- #endif
|
|
362
|
+ if (endstops.enabled
|
|
363
|
+ #if HAS_BED_PROBE
|
|
364
|
+ || endstops.z_probe_enabled
|
|
365
|
+ #endif
|
|
366
|
+ ) endstops.update();
|
367
|
367
|
|
368
|
368
|
// Take multiple steps per interrupt (For high speed moves)
|
369
|
369
|
for (int8_t i = 0; i < step_loops; i++) {
|