Browse Source

Fix meshCount signed-ness

pull/1/head
Scott Lahteine 5 years ago
parent
commit
e3ddf6e81a
  1. 6
      Marlin/src/gcode/bedlevel/abl/G29.cpp

6
Marlin/src/gcode/bedlevel/abl/G29.cpp

@ -225,7 +225,7 @@ G29_TYPE GcodeSuite::G29() {
#if ABL_GRID #if ABL_GRID
#if ENABLED(PROBE_MANUALLY) #if ENABLED(PROBE_MANUALLY)
ABL_VAR xy_int8_t meshCount; ABL_VAR xy_uint8_t meshCount;
#endif #endif
ABL_VAR xy_int_t probe_position_lf, probe_position_rb; ABL_VAR xy_int_t probe_position_lf, probe_position_rb;
@ -678,7 +678,7 @@ G29_TYPE GcodeSuite::G29() {
measured_z = 0; measured_z = 0;
xy_int8_t meshCount; xy_uint8_t meshCount;
// Outer loop is X with PROBE_Y_FIRST enabled // Outer loop is X with PROBE_Y_FIRST enabled
// Outer loop is Y with PROBE_Y_FIRST disabled // Outer loop is Y with PROBE_Y_FIRST disabled
@ -746,7 +746,7 @@ G29_TYPE GcodeSuite::G29() {
z_values[meshCount.x][meshCount.y] = measured_z + zoffset; z_values[meshCount.x][meshCount.y] = measured_z + zoffset;
#if ENABLED(EXTENSIBLE_UI) #if ENABLED(EXTENSIBLE_UI)
ExtUI::onMeshUpdate(meshCount.x, meshCount.y, z_values[meshCount.x][meshCount.y]); ExtUI::onMeshUpdate(meshCount, z_values[meshCount.x][meshCount.y]);
#endif #endif
#endif #endif

Loading…
Cancel
Save