Add more debug output.

This commit is contained in:
Knutwurst
2023-06-02 13:14:48 +02:00
parent fd84ec3523
commit 37ef0ca742

View File

@@ -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