Browse Source

Always change to Tool 0 on G29 (#14146)

InsanityAutomation 6 years ago
parent
commit
212860f090
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Marlin/src/gcode/bedlevel/abl/G29.cpp

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

55
   #include "../../../lcd/extensible_ui/ui_api.h"
55
   #include "../../../lcd/extensible_ui/ui_api.h"
56
 #endif
56
 #endif
57
 
57
 
58
+#if HOTENDS > 1
59
+  #include "../../../module/tool_change.h"
60
+#endif
61
+
58
 #if ABL_GRID
62
 #if ABL_GRID
59
   #if ENABLED(PROBE_Y_FIRST)
63
   #if ENABLED(PROBE_Y_FIRST)
60
     #define PR_OUTER_VAR xCount
64
     #define PR_OUTER_VAR xCount
280
    */
284
    */
281
   if (!g29_in_progress) {
285
   if (!g29_in_progress) {
282
 
286
 
283
-    #if ENABLED(DUAL_X_CARRIAGE)
287
+    #if HOTENDS > 1
284
       if (active_extruder != 0) tool_change(0);
288
       if (active_extruder != 0) tool_change(0);
285
     #endif
289
     #endif
286
 
290
 

Loading…
Cancel
Save