🚸 More precision in G30 output (#26255)

This commit is contained in:
kisslorand
2023-10-03 22:50:33 +03:00
committed by GitHub
parent 7338a2fec8
commit 102de7dac3

View File

@@ -82,9 +82,9 @@ void GcodeSuite::G30() {
if (!isnan(measured_z)) {
const xy_pos_t lpos = probepos.asLogical();
SString<30> msg(
F("Bed X:"), p_float_t(lpos.x, 1),
F( " Y:"), p_float_t(lpos.y, 1),
F( " Z:"), p_float_t(measured_z, 2)
F("Bed X:"), p_float_t(lpos.x, 2),
F( " Y:"), p_float_t(lpos.y, 2),
F( " Z:"), p_float_t(measured_z, 3)
);
msg.echoln();
#if ANY(DWIN_LCD_PROUI, DWIN_CREALITY_LCD_JYERSUI)