1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Some cleanup ahead of BLTOUCH support

This commit is contained in:
Scott Lahteine 2016-06-01 01:15:37 -07:00
parent 253f843da5
commit 176b9627c7

View File

@ -359,11 +359,11 @@ void Stepper::isr() {
if (current_block) { if (current_block) {
// Update endstops state, if enabled // Update endstops state, if enabled
#if HAS_BED_PROBE if (endstops.enabled
if (endstops.enabled || endstops.z_probe_enabled) endstops.update(); #if HAS_BED_PROBE
#else || endstops.z_probe_enabled
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++) {