Followup to BLTouch (#13422)

This commit is contained in:
InsanityAutomation authored and Scott Lahteine committed 2019-03-18 16:31:11 -05:00
1 parent 3fb8489ae3
commit 5b2c37d6c1
10 files changed
+56 -49

No files matched your search

@@ -34,6 +34,9 @@ enum MeshLevelingState : char {
#define MESH_X_DIST ((MESH_MAX_X - (MESH_MIN_X)) / (GRID_MAX_POINTS_X - 1))
#define MESH_Y_DIST ((MESH_MAX_Y - (MESH_MIN_Y)) / (GRID_MAX_POINTS_Y - 1))
#define _GET_MESH_X(I) mbl.index_to_xpos[I]
#define _GET_MESH_Y(J) mbl.index_to_ypos[J]
#define Z_VALUES_ARR mbl.z_values
class mesh_bed_leveling {
public:
@@ -118,5 +121,3 @@ public:
};
extern mesh_bed_leveling mbl;
#define Z_VALUES(X,Y) mbl.z_values[X][Y]