Followup to BLTouch (#13422)

This commit is contained in:
InsanityAutomation
2019-03-18 17:31:11 -04:00
committed by Scott Lahteine
parent 3fb8489ae3
commit 5b2c37d6c1
10 changed files with 56 additions and 49 deletions

View File

@ -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;