Skip to content

Commit

Permalink
Update meshviewer - increase precision, dec place
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 committed Jul 21, 2023
1 parent 9a08249 commit 4c3ecb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Marlin/src/lcd/e3v2/proui/meshviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ void MeshViewerClass::Draw(bool withsave/*=false*/, bool redraw/*=true*/) {
else {
char str_1[6], str_2[6] = "";
ui.status_printf(0, F("minZ: %s | maxZ: +%s"),
dtostrf(min, 1, 2, str_1),
dtostrf(max, 1, 2, str_2));
dtostrf(min, 1, 3, str_1),
dtostrf(max, 1, 3, str_2));
}
#else
char str_1[6], str_2[6] = "";
ui.status_printf(0, F("minZ: %s | maxZ: +%s"),
dtostrf(min, 1, 2, str_1),
dtostrf(max, 1, 2, str_2));
dtostrf(min, 1, 3, str_1),
dtostrf(max, 1, 3, str_2));
#endif
}

Expand Down

0 comments on commit 4c3ecb1

Please sign in to comment.