Browse Source

Always change to Tool 0 on G29 (#14146)

pull/1/head
InsanityAutomation 6 years ago
committed by Scott Lahteine
parent
commit
212860f090
  1. 6
      Marlin/src/gcode/bedlevel/abl/G29.cpp

6
Marlin/src/gcode/bedlevel/abl/G29.cpp

@ -55,6 +55,10 @@
#include "../../../lcd/extensible_ui/ui_api.h" #include "../../../lcd/extensible_ui/ui_api.h"
#endif #endif
#if HOTENDS > 1
#include "../../../module/tool_change.h"
#endif
#if ABL_GRID #if ABL_GRID
#if ENABLED(PROBE_Y_FIRST) #if ENABLED(PROBE_Y_FIRST)
#define PR_OUTER_VAR xCount #define PR_OUTER_VAR xCount
@ -280,7 +284,7 @@ G29_TYPE GcodeSuite::G29() {
*/ */
if (!g29_in_progress) { if (!g29_in_progress) {
#if ENABLED(DUAL_X_CARRIAGE) #if HOTENDS > 1
if (active_extruder != 0) tool_change(0); if (active_extruder != 0) tool_change(0);
#endif #endif

Loading…
Cancel
Save