Browse Source

Some cleanup ahead of BLTOUCH support

pull/1/head
Scott Lahteine 9 years ago
parent
commit
176b9627c7
  1. 6
      Marlin/stepper.cpp

6
Marlin/stepper.cpp

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

Loading…
Cancel
Save