From 223df2956a83daac93738836b90a0ed2f3bc4404 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Tue, 6 Jun 2023 17:01:06 +0200 Subject: [PATCH] Fix display of single mesh points --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 4632959a..33000adb 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -34,7 +34,7 @@ #define ANYCUBIC_TFT_DEBUG //#define KNUTWURST_DGUS2_TFT -//#define KNUTWURST_TFT_LEVELING +#define KNUTWURST_TFT_LEVELING #ifdef ANYCUBIC_TOUCHSCREEN #include "./anycubic_touchscreen.h" @@ -1481,8 +1481,9 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) { pos_z = getMeshPoint(pos); - SENDLINE_PGM("A29V "); - LCD_SERIAL.println(pos_z * 100); + SEND_PGM("A29V "); + LCD_SERIAL.print(pos_z * 100, 2); + SENDLINE_PGM(""); if (!isPrinting()) { setSoftEndstopState(true);