Преглед на файлове

Misc. fixes to compiler warnings, etc.

Scott Lahteine преди 7 години
родител
ревизия
85a62bbf46
променени са 3 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 2
    0
      Marlin/src/gcode/bedlevel/abl/G29.cpp
  2. 1
    0
      Marlin/src/gcode/motion/G2_G3.cpp
  3. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 0
Marlin/src/gcode/bedlevel/abl/G29.cpp Целия файл

@@ -630,6 +630,8 @@ void GcodeSuite::G29() {
630 630
 
631 631
       bool zig = PR_OUTER_END & 1;  // Always end at RIGHT and BACK_PROBE_BED_POSITION
632 632
 
633
+      measured_z = 0;
634
+
633 635
       // Outer loop is Y with PROBE_Y_FIRST disabled
634 636
       for (uint8_t PR_OUTER_VAR = 0; PR_OUTER_VAR < PR_OUTER_END && !isnan(measured_z); PR_OUTER_VAR++) {
635 637
 

+ 1
- 0
Marlin/src/gcode/motion/G2_G3.cpp Целия файл

@@ -51,6 +51,7 @@ void plan_arc(
51 51
   #if ENABLED(CNC_WORKSPACE_PLANES)
52 52
     AxisEnum p_axis, q_axis, l_axis;
53 53
     switch (gcode.workspace_plane) {
54
+      default:
54 55
       case GcodeSuite::PLANE_XY: p_axis = X_AXIS; q_axis = Y_AXIS; l_axis = Z_AXIS; break;
55 56
       case GcodeSuite::PLANE_ZX: p_axis = Z_AXIS; q_axis = X_AXIS; l_axis = Y_AXIS; break;
56 57
       case GcodeSuite::PLANE_YZ: p_axis = Y_AXIS; q_axis = Z_AXIS; l_axis = X_AXIS; break;

+ 2
- 2
Marlin/src/module/configuration_store.cpp Целия файл

@@ -64,7 +64,7 @@
64 64
  *  195  M206 XYZ  home_offset                      (float x3)
65 65
  *  207  M218 XYZ  hotend_offset                    (float x3 per additional hotend)
66 66
  *
67
- * Global Leveling:
67
+ * Global Leveling:                                 4 bytes
68 68
  *  219            z_fade_height                    (float)
69 69
  *
70 70
  * MESH_BED_LEVELING:                               43 bytes
@@ -80,7 +80,7 @@
80 80
  * ABL_PLANAR:                                      36 bytes
81 81
  *  270            planner.bed_level_matrix         (matrix_3x3 = float x9)
82 82
  *
83
- * AUTO_BED_LEVELING_BILINEAR:                      47 bytes
83
+ * AUTO_BED_LEVELING_BILINEAR:                      46 bytes
84 84
  *  306            GRID_MAX_POINTS_X                (uint8_t)
85 85
  *  307            GRID_MAX_POINTS_Y                (uint8_t)
86 86
  *  308            bilinear_grid_spacing            (int x2)

Loading…
Отказ
Запис