From a3520b6f01f402989cdb22fa958f9c1f5740dd6e Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 14 May 2016 16:19:37 -0700 Subject: [PATCH] More precision in M503 output for MBL's M421 --- Marlin/configuration_store.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Marlin/configuration_store.cpp b/Marlin/configuration_store.cpp index 0dbcd995b..8fed0a93e 100644 --- a/Marlin/configuration_store.cpp +++ b/Marlin/configuration_store.cpp @@ -738,7 +738,8 @@ void Config_PrintSettings(bool forReplay) { CONFIG_ECHO_START; SERIAL_ECHOPAIR(" M421 X", mbl.get_x(x)); SERIAL_ECHOPAIR(" Y", mbl.get_y(y)); - SERIAL_ECHOPAIR(" Z", mbl.z_values[y][x]); + SERIAL_ECHOPGM(" Z"); + SERIAL_PROTOCOL_F(mbl.z_values[y][x], 5); SERIAL_EOL; } }