Browse Source

Tweaks to tool_change, GcodeSuite::T()

Scott Lahteine 7 years ago
parent
commit
c0dddd4233

+ 2
- 2
Marlin/src/gcode/bedlevel/abl/G29.cpp View File

@@ -137,7 +137,7 @@ void GcodeSuite::G29() {
137 137
     const uint8_t old_debug_flags = marlin_debug_flags;
138 138
     if (query) marlin_debug_flags |= DEBUG_LEVELING;
139 139
     if (DEBUGGING(LEVELING)) {
140
-      DEBUG_POS(">>> gcode_G29", current_position);
140
+      DEBUG_POS(">>> G29", current_position);
141 141
       log_machine_info();
142 142
     }
143 143
     marlin_debug_flags = old_debug_flags;
@@ -957,7 +957,7 @@ void GcodeSuite::G29() {
957 957
   if (!faux) clean_up_after_endstop_or_probe_move();
958 958
 
959 959
   #if ENABLED(DEBUG_LEVELING_FEATURE)
960
-    if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("<<< gcode_G29");
960
+    if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("<<< G29");
961 961
   #endif
962 962
 
963 963
   report_current_position();

+ 2
- 2
Marlin/src/gcode/control/T.cpp View File

@@ -37,7 +37,7 @@ void GcodeSuite::T(const uint8_t tmp_extruder) {
37 37
 
38 38
   #if ENABLED(DEBUG_LEVELING_FEATURE)
39 39
     if (DEBUGGING(LEVELING)) {
40
-      SERIAL_ECHOPAIR(">>> gcode_T(", tmp_extruder);
40
+      SERIAL_ECHOPAIR(">>> T(", tmp_extruder);
41 41
       SERIAL_CHAR(')');
42 42
       SERIAL_EOL();
43 43
       DEBUG_POS("BEFORE", current_position);
@@ -61,7 +61,7 @@ void GcodeSuite::T(const uint8_t tmp_extruder) {
61 61
   #if ENABLED(DEBUG_LEVELING_FEATURE)
62 62
     if (DEBUGGING(LEVELING)) {
63 63
       DEBUG_POS("AFTER", current_position);
64
-      SERIAL_ECHOLNPGM("<<< gcode_T");
64
+      SERIAL_ECHOLNPGM("<<< T()");
65 65
     }
66 66
   #endif
67 67
 }

+ 7
- 7
Marlin/src/module/tool_change.cpp View File

@@ -295,13 +295,13 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_s/*=0.0*/, bool n
295 295
                                     + (tmp_extruder == 0 ? -(PARKING_EXTRUDER_GRAB_DISTANCE) : PARKING_EXTRUDER_GRAB_DISTANCE);
296 296
               /**
297 297
                *  Steps:
298
-               *    1. raise Z-Axis to have enough clearance
299
-               *    2. move to park poition of old extruder
300
-               *    3. disengage magnetc field, wait for delay
301
-               *    4. move near new extruder
302
-               *    5. engage magnetic field for new extruder
303
-               *    6. move to parking incl. offset of new extruder
304
-               *    7. lower Z-Axis
298
+               *    1. Raise Z-Axis to give enough clearance
299
+               *    2. Move to park position of old extruder
300
+               *    3. Disengage magnetic field, wait for delay
301
+               *    4. Move near new extruder
302
+               *    5. Engage magnetic field for new extruder
303
+               *    6. Move to parking incl. offset of new extruder
304
+               *    7. Lower Z-Axis
305 305
                */
306 306
 
307 307
               // STEP 1

Loading…
Cancel
Save