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:
committed by
Scott Lahteine
parent
122bdd187f
commit
c606ed447a
@@ -30,6 +30,7 @@
|
||||
class mesh_bed_leveling {
|
||||
public:
|
||||
uint8_t active;
|
||||
float z_offset;
|
||||
float z_values[MESH_NUM_Y_POINTS][MESH_NUM_X_POINTS];
|
||||
|
||||
mesh_bed_leveling();
|
||||
@@ -70,7 +71,7 @@
|
||||
float z0 = calc_z0(y0,
|
||||
get_y(y_index), z1,
|
||||
get_y(y_index + 1), z2);
|
||||
return z0;
|
||||
return z0 + z_offset;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user