Browse Source

Cleanup debug in G28 and G29

Scott Lahteine 9 years ago
parent
commit
ccae92588d
1 changed files with 2 additions and 6 deletions
  1. 2
    6
      Marlin/Marlin_main.cpp

+ 2
- 6
Marlin/Marlin_main.cpp View File

@@ -3102,9 +3102,7 @@ inline void gcode_G28() {
3102 3102
   endstops.hit_on_purpose(); // clear endstop hit flags
3103 3103
 
3104 3104
   #if ENABLED(DEBUG_LEVELING_FEATURE)
3105
-    if (DEBUGGING(LEVELING)) {
3106
-      SERIAL_ECHOLNPGM("<<< gcode_G28");
3107
-    }
3105
+    if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("<<< gcode_G28");
3108 3106
   #endif
3109 3107
 
3110 3108
   report_current_position();
@@ -3689,9 +3687,7 @@ inline void gcode_G28() {
3689 3687
     #else // !AUTO_BED_LEVELING_GRID
3690 3688
 
3691 3689
       #if ENABLED(DEBUG_LEVELING_FEATURE)
3692
-        if (DEBUGGING(LEVELING)) {
3693
-          SERIAL_ECHOLNPGM("> 3-point Leveling");
3694
-        }
3690
+        if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> 3-point Leveling");
3695 3691
       #endif
3696 3692
 
3697 3693
       // Actions for each probe

Loading…
Cancel
Save