From a485a1905290209beb851876a2d068563384bcd0 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 27 Aug 2016 20:06:51 -0500 Subject: [PATCH] Added optional planner logging --- Marlin/planner.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Marlin/planner.cpp b/Marlin/planner.cpp index 4fd18f5a2b..dd065988fc 100644 --- a/Marlin/planner.cpp +++ b/Marlin/planner.cpp @@ -567,6 +567,17 @@ void Planner::check_axes_activity() { dy = target[Y_AXIS] - position[Y_AXIS], dz = target[Z_AXIS] - position[Z_AXIS]; + /* + SERIAL_ECHO_START; + SERIAL_ECHOPAIR("Planner X:", x); + SERIAL_ECHOPAIR(" (", dx); + SERIAL_ECHOPAIR(") Y:", y); + SERIAL_ECHOPAIR(" (", dy); + SERIAL_ECHOPAIR(") Z:", z); + SERIAL_ECHOPAIR(" (", dz); + SERIAL_ECHOLNPGM(")"); + //*/ + // DRYRUN ignores all temperature constraints and assures that the extruder is instantly satisfied if (DEBUGGING(DRYRUN)) position[E_AXIS] = target[E_AXIS];