Followup to BLTouch (#13422)
This commit is contained in:
committed by
Scott Lahteine
parent
3fb8489ae3
commit
5b2c37d6c1
@ -588,7 +588,7 @@ namespace ExtUI {
|
||||
void setLevelingActive(const bool state) { set_bed_leveling_enabled(state); }
|
||||
#if HAS_MESH
|
||||
bool getMeshValid() { return leveling_is_valid(); }
|
||||
bed_mesh_t getMeshArray() { return Z_VALUES; }
|
||||
bed_mesh_t getMeshArray() { return Z_VALUES_ARR; }
|
||||
void setMeshPoint(const uint8_t xpos, const uint8_t ypos, const float zoff) {
|
||||
if (WITHIN(xpos, 0, GRID_MAX_POINTS_X) && WITHIN(ypos, 0, GRID_MAX_POINTS_Y)) {
|
||||
Z_VALUES(xpos, ypos) = zoff;
|
||||
|
@ -95,7 +95,6 @@ namespace ExtUI {
|
||||
bool getLevelingActive();
|
||||
void setLevelingActive(const bool);
|
||||
#if HAS_MESH
|
||||
typedef float (&bed_mesh_t)[GRID_MAX_POINTS_X][GRID_MAX_POINTS_Y];
|
||||
bool getMeshValid();
|
||||
bed_mesh_t getMeshArray();
|
||||
void setMeshPoint(const uint8_t xpos, const uint8_t ypos, const float zval);
|
||||
|
Reference in New Issue
Block a user