From b3f4eaf6fdf4d331139573154dfa391cc940b02c Mon Sep 17 00:00:00 2001 From: "Dipl.-Ing. Raoul Rubien, BSc" Date: Tue, 13 Dec 2022 04:23:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20M115=5FGEOMETRY=5FREPORT?= =?UTF-8?q?=20(#25092)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Marlin/src/gcode/host/M115.cpp | 52 +++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/Marlin/src/gcode/host/M115.cpp b/Marlin/src/gcode/host/M115.cpp index 1c00cb19f5..6e8c406adc 100644 --- a/Marlin/src/gcode/host/M115.cpp +++ b/Marlin/src/gcode/host/M115.cpp @@ -235,30 +235,36 @@ void GcodeSuite::M115() { SERIAL_ECHOLNPGM( "area:{" "full:{" - LIST_N(DOUBLE(NUM_AXES), - "min:{x:", lmin.x, ",y:", lmin.y, ",z:", lmin.z, - ",i:", lmin.i, ",j:", lmin.j, ",k:", lmin.k, - ",u:", lmin.u, ",v:", lmin.v, ",w:", lmin.w - ), - LIST_N(DOUBLE(NUM_AXES), - "max:{x:", lmax.x, ",y:", lmax.y, ",z:", lmax.z, - ",i:", lmax.i, ",j:", lmax.j, ",k:", lmax.k, - ",u:", lmax.u, ",v:", lmax.v, ",w:", lmax.w - ), - "}," + "min:{" + LIST_N(DOUBLE(NUM_AXES), + "x:", lmin.x, ",y:", lmin.y, ",z:", lmin.z, + ",i:", lmin.i, ",j:", lmin.j, ",k:", lmin.k, + ",u:", lmin.u, ",v:", lmin.v, ",w:", lmin.w + ), + "},max:{" + LIST_N(DOUBLE(NUM_AXES), + "x:", lmax.x, ",y:", lmax.y, ",z:", lmax.z, + ",i:", lmax.i, ",j:", lmax.j, ",k:", lmax.k, + ",u:", lmax.u, ",v:", lmax.v, ",w:", lmax.w + ), + "}" // max + "}," // full "work:{" - LIST_N(DOUBLE(NUM_AXES), - "min:{x:", wmin.x, ",y:", wmin.y, ",z:", wmin.z, - ",i:", wmin.i, ",j:", wmin.j, ",k:", wmin.k, - ",u:", wmin.u, ",v:", wmin.v, ",w:", wmin.w - ), - LIST_N(DOUBLE(NUM_AXES), - "max:{x:", wmax.x, ",y:", wmax.y, ",z:", wmax.z, - ",i:", wmax.i, ",j:", wmax.j, ",k:", wmax.k, - ",u:", wmax.u, ",v:", wmax.v, ",w:", wmax.w - ), - "}" - "}" + "min:{" + LIST_N(DOUBLE(NUM_AXES), + "x:", wmin.x, ",y:", wmin.y, ",z:", wmin.z, + ",i:", wmin.i, ",j:", wmin.j, ",k:", wmin.k, + ",u:", wmin.u, ",v:", wmin.v, ",w:", wmin.w + ), + "},max:{" + LIST_N(DOUBLE(NUM_AXES), + "x:", wmax.x, ",y:", wmax.y, ",z:", wmax.z, + ",i:", wmax.i, ",j:", wmax.j, ",k:", wmax.k, + ",u:", wmax.u, ",v:", wmax.v, ",w:", wmax.w + ), + "}" // max + "}" // work + "}" // area ); #endif