Make mbl.has_mesh() a method

This commit is contained in:
Scott Lahteine 2018-01-07 00:06:21 -06:00
parent be555e3578
commit ffeb4495fe
4 changed files with 10 additions and 19 deletions

View file

@ -30,8 +30,6 @@
mesh_bed_leveling mbl;
bool mesh_bed_leveling::has_mesh;
float mesh_bed_leveling::z_offset,
mesh_bed_leveling::z_values[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y],
mesh_bed_leveling::index_to_xpos[GRID_MAX_POINTS_X],
@ -46,7 +44,6 @@
}
void mesh_bed_leveling::reset() {
has_mesh = false;
z_offset = 0;
ZERO(z_values);
}