Quellcode durchsuchen

Added optional planner logging

Scott Lahteine vor 8 Jahren
Ursprung
Commit
a485a19052
1 geänderte Dateien mit 11 neuen und 0 gelöschten Zeilen
  1. 11
    0
      Marlin/planner.cpp

+ 11
- 0
Marlin/planner.cpp Datei anzeigen

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

Laden…
Abbrechen
Speichern