Kaynağa Gözat

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

・Remove unneeded PSTR()
esenapaj 9 yıl önce
ebeveyn
işleme
d32c4056ad
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 6
    6
      Marlin/Marlin_main.cpp

+ 6
- 6
Marlin/Marlin_main.cpp Dosyayı Görüntüle

1677
     set_destination_to_current();          // sync destination at the start
1677
     set_destination_to_current();          // sync destination at the start
1678
 
1678
 
1679
     #if ENABLED(DEBUG_LEVELING_FEATURE)
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
     #endif
1681
     #endif
1682
 
1682
 
1683
     // when in the danger zone
1683
     // when in the danger zone
1688
         destination[Z_AXIS] = z;
1688
         destination[Z_AXIS] = z;
1689
         prepare_move_to_destination_raw(); // set_current_to_destination
1689
         prepare_move_to_destination_raw(); // set_current_to_destination
1690
         #if ENABLED(DEBUG_LEVELING_FEATURE)
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
         #endif
1692
         #endif
1693
         return;
1693
         return;
1694
       }
1694
       }
1696
         destination[Z_AXIS] = delta_clip_start_height;
1696
         destination[Z_AXIS] = delta_clip_start_height;
1697
         prepare_move_to_destination_raw(); // set_current_to_destination
1697
         prepare_move_to_destination_raw(); // set_current_to_destination
1698
         #if ENABLED(DEBUG_LEVELING_FEATURE)
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
         #endif
1700
         #endif
1701
       }
1701
       }
1702
     }
1702
     }
1705
       destination[Z_AXIS] = z;
1705
       destination[Z_AXIS] = z;
1706
       prepare_move_to_destination_raw();   // set_current_to_destination
1706
       prepare_move_to_destination_raw();   // set_current_to_destination
1707
       #if ENABLED(DEBUG_LEVELING_FEATURE)
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
       #endif
1709
       #endif
1710
     }
1710
     }
1711
 
1711
 
1713
     destination[Y_AXIS] = y;
1713
     destination[Y_AXIS] = y;
1714
     prepare_move_to_destination();         // set_current_to_destination
1714
     prepare_move_to_destination();         // set_current_to_destination
1715
     #if ENABLED(DEBUG_LEVELING_FEATURE)
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
     #endif
1717
     #endif
1718
 
1718
 
1719
     if (z < current_position[Z_AXIS]) {    // lowering?
1719
     if (z < current_position[Z_AXIS]) {    // lowering?
1720
       destination[Z_AXIS] = z;
1720
       destination[Z_AXIS] = z;
1721
       prepare_move_to_destination_raw();   // set_current_to_destination
1721
       prepare_move_to_destination_raw();   // set_current_to_destination
1722
       #if ENABLED(DEBUG_LEVELING_FEATURE)
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
       #endif
1724
       #endif
1725
     }
1725
     }
1726
 
1726
 

Loading…
İptal
Kaydet