Add "G29 S4" to fine tune Z level for Mesh Bed Leveling.

Also add mbl.z_offset to the EEPROM, bumping the version to V23.
This commit is contained in:
Edward Patel
2016-03-24 22:16:09 +01:00
committed by Scott Lahteine
parent 122bdd187f
commit c606ed447a
6 changed files with 81 additions and 46 deletions

View File

@ -30,6 +30,7 @@
void mesh_bed_leveling::reset() {
active = 0;
z_offset = 0;
for (int y = 0; y < MESH_NUM_Y_POINTS; y++)
for (int x = 0; x < MESH_NUM_X_POINTS; x++)
z_values[y][x] = 0;