Always change to Tool 0 on G29 (#14146)

This commit is contained in:
InsanityAutomation 2019-05-26 15:53:21 -04:00 committed by Scott Lahteine
parent 7b838f31be
commit 212860f090

View File

@ -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