Browse Source

Misc. fixes to compiler warnings, etc.

Scott Lahteine 7 years ago
parent
commit
85a62bbf46

+ 2
- 0
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

630
 
630
 
631
       bool zig = PR_OUTER_END & 1;  // Always end at RIGHT and BACK_PROBE_BED_POSITION
631
       bool zig = PR_OUTER_END & 1;  // Always end at RIGHT and BACK_PROBE_BED_POSITION
632
 
632
 
633
+      measured_z = 0;
634
+
633
       // Outer loop is Y with PROBE_Y_FIRST disabled
635
       // Outer loop is Y with PROBE_Y_FIRST disabled
634
       for (uint8_t PR_OUTER_VAR = 0; PR_OUTER_VAR < PR_OUTER_END && !isnan(measured_z); PR_OUTER_VAR++) {
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 View File

51
   #if ENABLED(CNC_WORKSPACE_PLANES)
51
   #if ENABLED(CNC_WORKSPACE_PLANES)
52
     AxisEnum p_axis, q_axis, l_axis;
52
     AxisEnum p_axis, q_axis, l_axis;
53
     switch (gcode.workspace_plane) {
53
     switch (gcode.workspace_plane) {
54
+      default:
54
       case GcodeSuite::PLANE_XY: p_axis = X_AXIS; q_axis = Y_AXIS; l_axis = Z_AXIS; break;
55
       case GcodeSuite::PLANE_XY: p_axis = X_AXIS; q_axis = Y_AXIS; l_axis = Z_AXIS; break;
55
       case GcodeSuite::PLANE_ZX: p_axis = Z_AXIS; q_axis = X_AXIS; l_axis = Y_AXIS; break;
56
       case GcodeSuite::PLANE_ZX: p_axis = Z_AXIS; q_axis = X_AXIS; l_axis = Y_AXIS; break;
56
       case GcodeSuite::PLANE_YZ: p_axis = Y_AXIS; q_axis = Z_AXIS; l_axis = X_AXIS; break;
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 View File

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

Loading…
Cancel
Save