Browse Source

Tweak G38 formatting

Scott Lahteine 6 years ago
parent
commit
4b610b333e
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      Marlin/src/module/endstops.cpp

+ 1
- 3
Marlin/src/module/endstops.cpp View File

414
 
414
 
415
   #if ENABLED(G38_PROBE_TARGET) && PIN_EXISTS(Z_MIN_PROBE) && !(CORE_IS_XY || CORE_IS_XZ)
415
   #if ENABLED(G38_PROBE_TARGET) && PIN_EXISTS(Z_MIN_PROBE) && !(CORE_IS_XY || CORE_IS_XZ)
416
     // If G38 command is active check Z_MIN_PROBE for ALL movement
416
     // If G38 command is active check Z_MIN_PROBE for ALL movement
417
-    if (G38_move) {
418
-      UPDATE_ENDSTOP_BIT(Z, MIN_PROBE);
419
-    }
417
+    if (G38_move) UPDATE_ENDSTOP_BIT(Z, MIN_PROBE);
420
   #endif
418
   #endif
421
 
419
 
422
   /**
420
   /**

Loading…
Cancel
Save