ubl_state no longer needed

This commit is contained in:
Scott Lahteine 2017-10-13 21:58:45 -05:00
parent ece14af556
commit b8ddae61e2
5 changed files with 23 additions and 28 deletions

View file

@ -76,11 +76,6 @@
#define MESH_X_DIST (float(UBL_MESH_MAX_X - (UBL_MESH_MIN_X)) / float(GRID_MAX_POINTS_X - 1))
#define MESH_Y_DIST (float(UBL_MESH_MAX_Y - (UBL_MESH_MIN_Y)) / float(GRID_MAX_POINTS_Y - 1))
typedef struct {
bool active = false;
int8_t storage_slot = -1;
} ubl_state;
class unified_bed_leveling {
private:
@ -165,7 +160,7 @@
static void G26();
#endif
static ubl_state state;
static int8_t storage_slot;
static float z_values[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y];