Pārlūkot izejas kodu

Indent G30, G31/G32

Scott Lahteine 10 gadus atpakaļ
vecāks
revīzija
b0d520b109
1 mainītis faili ar 12 papildinājumiem un 12 dzēšanām
  1. 12
    12
      Marlin/Marlin_main.cpp

+ 12
- 12
Marlin/Marlin_main.cpp Parādīt failu

5265
           break;
5265
           break;
5266
       #endif
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
     case 90: // G90
5287
     case 90: // G90
5288
       relative_mode = false;
5288
       relative_mode = false;

Notiek ielāde…
Atcelt
Saglabāt