Преглед изворни кода

Added optional planner logging

Scott Lahteine пре 8 година
родитељ
комит
a485a19052
1 измењених фајлова са 11 додато и 0 уклоњено
  1. 11
    0
      Marlin/planner.cpp

+ 11
- 0
Marlin/planner.cpp Прегледај датотеку

567
        dy = target[Y_AXIS] - position[Y_AXIS],
567
        dy = target[Y_AXIS] - position[Y_AXIS],
568
        dz = target[Z_AXIS] - position[Z_AXIS];
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
   // DRYRUN ignores all temperature constraints and assures that the extruder is instantly satisfied
581
   // DRYRUN ignores all temperature constraints and assures that the extruder is instantly satisfied
571
   if (DEBUGGING(DRYRUN))
582
   if (DEBUGGING(DRYRUN))
572
     position[E_AXIS] = target[E_AXIS];
583
     position[E_AXIS] = target[E_AXIS];

Loading…
Откажи
Сачувај