🚑️ Fix DWIN_CompletedLeveling (#22851)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Steven Haigh
2021-09-30 02:22:46 +10:00
committed by Scott Lahteine
parent 5d3e75905d
commit 2e602b9b88
2 changed files with 5 additions and 5 deletions

View File

@ -1665,7 +1665,7 @@ void DWIN_MeshLevelingStart() {
#endif
}
void DWIN_CompletedLeveling() { DWIN_MeshViewer(); }
void DWIN_CompletedLeveling() { TERN_(HAS_MESH, DWIN_MeshViewer()); }
#if HAS_MESH
void DWIN_MeshUpdate(const int8_t xpos, const int8_t ypos, const float zval) {