Przeglądaj źródła

Fix for the PR #4379 (Additional logging of do_blocking_move_to)

・Remove unneeded PSTR()
esenapaj 9 lat temu
rodzic
commit
d32c4056ad
1 zmienionych plików z 6 dodań i 6 usunięć
  1. 6
    6
      Marlin/Marlin_main.cpp

+ 6
- 6
Marlin/Marlin_main.cpp Wyświetl plik

@@ -1677,7 +1677,7 @@ void do_blocking_move_to(float x, float y, float z, float fr_mm_m /*=0.0*/) {
1677 1677
     set_destination_to_current();          // sync destination at the start
1678 1678
 
1679 1679
     #if ENABLED(DEBUG_LEVELING_FEATURE)
1680
-      if (DEBUGGING(LEVELING)) DEBUG_POS(PSTR("set_destination_to_current"), destination);
1680
+      if (DEBUGGING(LEVELING)) DEBUG_POS("set_destination_to_current", destination);
1681 1681
     #endif
1682 1682
 
1683 1683
     // when in the danger zone
@@ -1688,7 +1688,7 @@ void do_blocking_move_to(float x, float y, float z, float fr_mm_m /*=0.0*/) {
1688 1688
         destination[Z_AXIS] = z;
1689 1689
         prepare_move_to_destination_raw(); // set_current_to_destination
1690 1690
         #if ENABLED(DEBUG_LEVELING_FEATURE)
1691
-          if (DEBUGGING(LEVELING)) DEBUG_POS(PSTR("danger zone move"), current_position);
1691
+          if (DEBUGGING(LEVELING)) DEBUG_POS("danger zone move", current_position);
1692 1692
         #endif
1693 1693
         return;
1694 1694
       }
@@ -1696,7 +1696,7 @@ void do_blocking_move_to(float x, float y, float z, float fr_mm_m /*=0.0*/) {
1696 1696
         destination[Z_AXIS] = delta_clip_start_height;
1697 1697
         prepare_move_to_destination_raw(); // set_current_to_destination
1698 1698
         #if ENABLED(DEBUG_LEVELING_FEATURE)
1699
-          if (DEBUGGING(LEVELING)) DEBUG_POS(PSTR("zone border move"), current_position);
1699
+          if (DEBUGGING(LEVELING)) DEBUG_POS("zone border move", current_position);
1700 1700
         #endif
1701 1701
       }
1702 1702
     }
@@ -1705,7 +1705,7 @@ void do_blocking_move_to(float x, float y, float z, float fr_mm_m /*=0.0*/) {
1705 1705
       destination[Z_AXIS] = z;
1706 1706
       prepare_move_to_destination_raw();   // set_current_to_destination
1707 1707
       #if ENABLED(DEBUG_LEVELING_FEATURE)
1708
-        if (DEBUGGING(LEVELING)) DEBUG_POS(PSTR("z raise move"), current_position);
1708
+        if (DEBUGGING(LEVELING)) DEBUG_POS("z raise move", current_position);
1709 1709
       #endif
1710 1710
     }
1711 1711
 
@@ -1713,14 +1713,14 @@ void do_blocking_move_to(float x, float y, float z, float fr_mm_m /*=0.0*/) {
1713 1713
     destination[Y_AXIS] = y;
1714 1714
     prepare_move_to_destination();         // set_current_to_destination
1715 1715
     #if ENABLED(DEBUG_LEVELING_FEATURE)
1716
-      if (DEBUGGING(LEVELING)) DEBUG_POS(PSTR("xy move"), current_position);
1716
+      if (DEBUGGING(LEVELING)) DEBUG_POS("xy move", current_position);
1717 1717
     #endif
1718 1718
 
1719 1719
     if (z < current_position[Z_AXIS]) {    // lowering?
1720 1720
       destination[Z_AXIS] = z;
1721 1721
       prepare_move_to_destination_raw();   // set_current_to_destination
1722 1722
       #if ENABLED(DEBUG_LEVELING_FEATURE)
1723
-        if (DEBUGGING(LEVELING)) DEBUG_POS(PSTR("z lower move"), current_position);
1723
+        if (DEBUGGING(LEVELING)) DEBUG_POS("z lower move", current_position);
1724 1724
       #endif
1725 1725
     }
1726 1726
 

Ładowanie…
Anuluj
Zapisz