Browse Source

Added optional planner logging

Scott Lahteine 8 years ago
parent
commit
a485a19052
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      Marlin/planner.cpp

+ 11
- 0
Marlin/planner.cpp View File

@@ -567,6 +567,17 @@ void Planner::check_axes_activity() {
567 567
        dy = target[Y_AXIS] - position[Y_AXIS],
568 568
        dz = target[Z_AXIS] - position[Z_AXIS];
569 569
 
570
+  /*
571
+  SERIAL_ECHO_START;
572
+  SERIAL_ECHOPAIR("Planner X:", x);
573
+  SERIAL_ECHOPAIR(" (", dx);
574
+  SERIAL_ECHOPAIR(") Y:", y);
575
+  SERIAL_ECHOPAIR(" (", dy);
576
+  SERIAL_ECHOPAIR(") Z:", z);
577
+  SERIAL_ECHOPAIR(" (", dz);
578
+  SERIAL_ECHOLNPGM(")");
579
+  //*/
580
+
570 581
   // DRYRUN ignores all temperature constraints and assures that the extruder is instantly satisfied
571 582
   if (DEBUGGING(DRYRUN))
572 583
     position[E_AXIS] = target[E_AXIS];

Loading…
Cancel
Save