Fix debug in Planner::buffer_line

This commit is contained in:
Scott Lahteine 2016-09-21 17:06:35 -05:00
parent b211df818e
commit be11a8a938

View File

@ -627,22 +627,23 @@ void Planner::buffer_line(ARG_X, ARG_Y, ARG_Z, const float &e, float fr_mm_s, co
dz = target[Z_AXIS] - position[Z_AXIS]; dz = target[Z_AXIS] - position[Z_AXIS];
/* /*
SERIAL_ECHO_START; SERIAL_ECHOPGM(" Planner ");
SERIAL_ECHOPGM("Planner ", x); SERIAL_ECHOPAIR("FR:", fr_mm_s);
SERIAL_CHAR(' ');
#if IS_KINEMATIC #if IS_KINEMATIC
SERIAL_ECHOPAIR("A:", x); SERIAL_ECHOPAIR("A:", lx);
SERIAL_ECHOPAIR(" (", dx); SERIAL_ECHOPAIR(" (", dx);
SERIAL_ECHOPAIR(") B:", y); SERIAL_ECHOPAIR(") B:", ly);
#else #else
SERIAL_ECHOPAIR("X:", x); SERIAL_ECHOPAIR("X:", lx);
SERIAL_ECHOPAIR(" (", dx); SERIAL_ECHOPAIR(" (", dx);
SERIAL_ECHOPAIR(") Y:", y); SERIAL_ECHOPAIR(") Y:", ly);
#endif #endif
SERIAL_ECHOPAIR(" (", dy); SERIAL_ECHOPAIR(" (", dy);
#elif ENABLED(DELTA) #if ENABLED(DELTA)
SERIAL_ECHOPAIR(") C:", z); SERIAL_ECHOPAIR(") C:", lz);
#else #else
SERIAL_ECHOPAIR(") Z:", z); SERIAL_ECHOPAIR(") Z:", lz);
#endif #endif
SERIAL_ECHOPAIR(" (", dz); SERIAL_ECHOPAIR(" (", dz);
SERIAL_ECHOLNPGM(")"); SERIAL_ECHOLNPGM(")");