Browse Source

Some cleanup ahead of BLTOUCH support

Scott Lahteine 8 years ago
parent
commit
176b9627c7
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Marlin/stepper.cpp

+ 5
- 5
Marlin/stepper.cpp View File

359
   if (current_block) {
359
   if (current_block) {
360
 
360
 
361
     // Update endstops state, if enabled
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
     // Take multiple steps per interrupt (For high speed moves)
368
     // Take multiple steps per interrupt (For high speed moves)
369
     for (int8_t i = 0; i < step_loops; i++) {
369
     for (int8_t i = 0; i < step_loops; i++) {

Loading…
Cancel
Save