Skip to content

Commit

Permalink
Update dwin.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 authored Dec 29, 2023
1 parent 167aa1d commit fe01994
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Marlin/src/lcd/e3v2/proui/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4156,7 +4156,7 @@ void Draw_GetColor_Menu() {
void ApplyEditMeshX() { bedLevelTools.mesh_x = MenuData.Value; if (AutoMovToMesh) { bedLevelTools.MoveToXY(); } }
void ApplyEditMeshY() { bedLevelTools.mesh_y = MenuData.Value; if (AutoMovToMesh) { bedLevelTools.MoveToXY(); } }
void ZeroMesh() { manualResetValue(); EditZValueItem->redraw(); LCD_MESSAGE(MSG_ZERO_MESH); }
void MeshReset() { bedLevelTools.mesh_reset(); LCD_MESSAGE(MSG_MESH_RESET); }
void ZeroPoint() { bedLevelTools.mesh_reset(); LCD_MESSAGE(MSG_MESH_RESET); }
void SetEditMeshX() { HMI_value.Select = 0; SetIntOnClick(0, GRID_MAX_POINTS_X - 1, bedLevelTools.mesh_x, ApplyEditMeshX, LiveEditMesh); }
void SetEditMeshY() { HMI_value.Select = 1; SetIntOnClick(0, GRID_MAX_POINTS_Y - 1, bedLevelTools.mesh_y, ApplyEditMeshY, LiveEditMesh); }
void SetEditZValue() { SetPFloatOnClick(Z_OFFSET_MIN, Z_OFFSET_MAX, 3, nullptr, LiveEditMeshZ); if (AutoMovToMesh) { bedLevelTools.MoveToXYZ(); } }
Expand All @@ -4169,7 +4169,7 @@ void Draw_GetColor_Menu() {
void OnClick_ResetMesh() {
if (HMI_flag.select_flag) {
HMI_ReturnScreen();
MeshReset();
ZeroPoint();
DONE_BUZZ(true);
}
else { HMI_ReturnScreen(); }
Expand Down

0 comments on commit fe01994

Please sign in to comment.