Fix ExtUI mesh functions (#14027)

This commit is contained in:
InsanityAutomation authored and Scott Lahteine committed 2019-05-17 20:37:23 -05:00
1 parent 9b5f9dda0e
commit 84ac5b360b
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -725,8 +725,8 @@ namespace ExtUI {
#if HAS_LEVELING
bool getLevelingActive() { return planner.leveling_active; }
void setLevelingActive(const bool state) { set_bed_leveling_enabled(state); }
bool getMeshValid() { return leveling_is_valid(); }
#if HAS_MESH
bool getMeshValid() { return leveling_is_valid(); }
bed_mesh_t getMeshArray() { return Z_VALUES_ARR; }
float getMeshPoint(const uint8_t xpos, const uint8_t ypos) { return Z_VALUES(xpos,ypos); }
void setMeshPoint(const uint8_t xpos, const uint8_t ypos, const float zoff) {