From 37ef0ca742b3c73e851ecdeee823eaeff1acd65b Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 2 Jun 2023 13:14:48 +0200 Subject: [PATCH] Add more debug output. --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index 4bcf3387..2ec7d221 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -1685,7 +1685,10 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) { if (CodeSeen('V')) { float newval = float(constrain(CodeValue() / 100, -10, 10)); - + #if ENABLED(ANYCUBIC_TFT_DEBUG) + SERIAL_ECHOLNPGM("Change mesh point x:", pos.x, " y:", pos.y); + SERIAL_ECHOLNPGM("from ", currmesh, " to ", newval); + #endif setMeshPoint(pos,newval); if (!isPrinting()) { // if we are at the current mesh point indicated on the panel Move Z pos +/- 0.05mm