Bläddra i källkod

Indent G30, G31/G32

Scott Lahteine 10 år sedan
förälder
incheckning
b0d520b109
1 ändrade filer med 12 tillägg och 12 borttagningar
  1. 12
    12
      Marlin/Marlin_main.cpp

+ 12
- 12
Marlin/Marlin_main.cpp Visa fil

@@ -5265,24 +5265,24 @@ void process_next_command() {
5265 5265
           break;
5266 5266
       #endif
5267 5267
 
5268
-    #ifdef ENABLE_AUTO_BED_LEVELING
5268
+      #ifdef ENABLE_AUTO_BED_LEVELING
5269 5269
 
5270
-      #ifndef Z_PROBE_SLED
5270
+        #ifndef Z_PROBE_SLED
5271 5271
 
5272
-        case 30: // G30 Single Z Probe
5273
-          gcode_G30();
5274
-          break;
5272
+          case 30: // G30 Single Z Probe
5273
+            gcode_G30();
5274
+            break;
5275 5275
 
5276
-      #else // Z_PROBE_SLED
5276
+        #else // Z_PROBE_SLED
5277 5277
 
5278
-          case 31: // G31: dock the sled
5279
-          case 32: // G32: undock the sled
5280
-            dock_sled(codenum == 31);
5281
-            break;
5278
+            case 31: // G31: dock the sled
5279
+            case 32: // G32: undock the sled
5280
+              dock_sled(codenum == 31);
5281
+              break;
5282 5282
 
5283
-      #endif // Z_PROBE_SLED
5283
+        #endif // Z_PROBE_SLED
5284 5284
 
5285
-    #endif // ENABLE_AUTO_BED_LEVELING
5285
+      #endif // ENABLE_AUTO_BED_LEVELING
5286 5286
 
5287 5287
     case 90: // G90
5288 5288
       relative_mode = false;

Laddar…
Avbryt
Spara