瀏覽代碼

Added optional planner logging

Scott Lahteine 8 年之前
父節點
當前提交
a485a19052
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11
    0
      Marlin/planner.cpp

+ 11
- 0
Marlin/planner.cpp 查看文件

@@ -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…
取消
儲存