From 109e8f88ce03c7018f5a0046dd727d3766ef7f21 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 10 Oct 2020 12:34:08 -0500 Subject: [PATCH] ibid --- Marlin/src/gcode/calibrate/G34_M422.cpp | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Marlin/src/gcode/calibrate/G34_M422.cpp b/Marlin/src/gcode/calibrate/G34_M422.cpp index a944de2954..64a38b744b 100644 --- a/Marlin/src/gcode/calibrate/G34_M422.cpp +++ b/Marlin/src/gcode/calibrate/G34_M422.cpp @@ -25,6 +25,8 @@ #if ENABLED(Z_STEPPER_AUTO_ALIGN) #include "../gcode.h" +#include "../../feature/z_stepper_align.h" + #include "../../module/planner.h" #include "../../module/stepper.h" #include "../../module/motion.h" @@ -35,19 +37,13 @@ #include "../../feature/bedlevel/bedlevel.h" #endif -#if HAS_MULTI_HOTEND - #include "../../module/tool_change.h" +#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS) + #include "../../libs/least_squares_fit.h" #endif #define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE) #include "../../core/debug_out.h" -#include "../../feature/z_stepper_align.h" - -#if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS) - #include "../../libs/least_squares_fit.h" -#endif - /** * G34: Z-Stepper automatic alignment *