Browse Source

Apply coding standards for indentation

Scott Lahteine 8 years ago
parent
commit
8020069371
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      Marlin/Marlin_main.cpp

+ 2
- 4
Marlin/Marlin_main.cpp View File

2110
 
2110
 
2111
     void set_bltouch_deployed(const bool deploy) {
2111
     void set_bltouch_deployed(const bool deploy) {
2112
       #if ENABLED(BLTOUCH_HEATERS_OFF)
2112
       #if ENABLED(BLTOUCH_HEATERS_OFF)
2113
-      turn_heaters_on_or_off_for_bltouch(deploy);
2113
+        turn_heaters_on_or_off_for_bltouch(deploy);
2114
       #endif
2114
       #endif
2115
       if (deploy && TEST_BLTOUCH()) {      // If BL-Touch says it's triggered
2115
       if (deploy && TEST_BLTOUCH()) {      // If BL-Touch says it's triggered
2116
         bltouch_command(BLTOUCH_RESET);    // try to reset it.
2116
         bltouch_command(BLTOUCH_RESET);    // try to reset it.
2146
       }
2146
       }
2147
     #endif
2147
     #endif
2148
 
2148
 
2149
-    #if ENABLED(BLTOUCH)
2150
-      #if ENABLED(BLTOUCH_HEATERS_OFF)
2149
+    #if ENABLED(BLTOUCH) && ENABLED(BLTOUCH_HEATERS_OFF)
2151
       turn_heaters_on_or_off_for_bltouch(deploy);
2150
       turn_heaters_on_or_off_for_bltouch(deploy);
2152
-      #endif
2153
     #endif
2151
     #endif
2154
 
2152
 
2155
     if (endstops.z_probe_enabled == deploy) return false;
2153
     if (endstops.z_probe_enabled == deploy) return false;

Loading…
Cancel
Save