From 607c1e58d9d899e0e8880bfb2dba8b996317e71e Mon Sep 17 00:00:00 2001 From: scott0122 <39105828+scott0122@users.noreply.github.com> Date: Sat, 1 Sep 2018 04:14:33 +0800 Subject: [PATCH] Improve HOTEND OFFSET Z display precision to 3 (#11685) --- Marlin/src/gcode/config/M218.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/gcode/config/M218.cpp b/Marlin/src/gcode/config/M218.cpp index 6b291b5488..6093c19c81 100644 --- a/Marlin/src/gcode/config/M218.cpp +++ b/Marlin/src/gcode/config/M218.cpp @@ -65,7 +65,7 @@ void GcodeSuite::M218() { SERIAL_CHAR(','); SERIAL_ECHO(hotend_offset[Y_AXIS][e]); SERIAL_CHAR(','); - SERIAL_ECHO(hotend_offset[Z_AXIS][e]); + SERIAL_ECHO_F(hotend_offset[Z_AXIS][e], 3); } SERIAL_EOL(); }