Browse Source

Tweak some formatting in ABL G29

Scott Lahteine 7 years ago
parent
commit
30887feae3
1 changed files with 11 additions and 11 deletions
  1. 11
    11
      Marlin/Marlin_main.cpp

+ 11
- 11
Marlin/Marlin_main.cpp View File

2786
     int bilinear_grid_spacing_virt[2] = { 0 };
2786
     int bilinear_grid_spacing_virt[2] = { 0 };
2787
     float bilinear_grid_factor_virt[2] = { 0 };
2787
     float bilinear_grid_factor_virt[2] = { 0 };
2788
 
2788
 
2789
-    static void bed_level_virt_print() {
2789
+    static void print_bilinear_leveling_grid_virt() {
2790
       SERIAL_ECHOLNPGM("Subdivided with CATMULL ROM Leveling Grid:");
2790
       SERIAL_ECHOLNPGM("Subdivided with CATMULL ROM Leveling Grid:");
2791
       print_2d_array(ABL_GRID_POINTS_VIRT_X, ABL_GRID_POINTS_VIRT_Y, 5,
2791
       print_2d_array(ABL_GRID_POINTS_VIRT_X, ABL_GRID_POINTS_VIRT_Y, 5,
2792
         [](const uint8_t ix, const uint8_t iy) { return z_values_virt[ix][iy]; }
2792
         [](const uint8_t ix, const uint8_t iy) { return z_values_virt[ix][iy]; }
5042
         refresh_bed_level();
5042
         refresh_bed_level();
5043
 
5043
 
5044
         #if ENABLED(ABL_BILINEAR_SUBDIVISION)
5044
         #if ENABLED(ABL_BILINEAR_SUBDIVISION)
5045
-          bed_level_virt_print();
5045
+          print_bilinear_leveling_grid_virt();
5046
         #endif
5046
         #endif
5047
 
5047
 
5048
       #elif ENABLED(AUTO_BED_LEVELING_LINEAR)
5048
       #elif ENABLED(AUTO_BED_LEVELING_LINEAR)
9314
     if (parser.seen('V')) {
9314
     if (parser.seen('V')) {
9315
       #if ABL_PLANAR
9315
       #if ABL_PLANAR
9316
         planner.bed_level_matrix.debug(PSTR("Bed Level Correction Matrix:"));
9316
         planner.bed_level_matrix.debug(PSTR("Bed Level Correction Matrix:"));
9317
-      #elif ENABLED(AUTO_BED_LEVELING_BILINEAR)
9317
+      #else
9318
         if (leveling_is_valid()) {
9318
         if (leveling_is_valid()) {
9319
-          print_bilinear_leveling_grid();
9320
-          #if ENABLED(ABL_BILINEAR_SUBDIVISION)
9321
-            bed_level_virt_print();
9319
+          #if ENABLED(AUTO_BED_LEVELING_BILINEAR)
9320
+            print_bilinear_leveling_grid();
9321
+            #if ENABLED(ABL_BILINEAR_SUBDIVISION)
9322
+              print_bilinear_leveling_grid_virt();
9323
+            #endif
9324
+          #elif ENABLED(MESH_BED_LEVELING)
9325
+            SERIAL_ECHOLNPGM("Mesh Bed Level data:");
9326
+            mbl_mesh_report();
9322
           #endif
9327
           #endif
9323
         }
9328
         }
9324
-      #elif ENABLED(MESH_BED_LEVELING)
9325
-        if (leveling_is_valid()) {
9326
-          SERIAL_ECHOLNPGM("Mesh Bed Level data:");
9327
-          mbl_mesh_report();
9328
-        }
9329
       #endif
9329
       #endif
9330
     }
9330
     }
9331
 
9331
 

Loading…
Cancel
Save