From fd751bd3fe3c32602ab9cccfc0d3857004f61ec0 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 10 Oct 2020 12:32:19 -0500 Subject: [PATCH] Fix wrapper on G34_M422.cpp --- Marlin/src/gcode/calibrate/G34_M422.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Marlin/src/gcode/calibrate/G34_M422.cpp b/Marlin/src/gcode/calibrate/G34_M422.cpp index edeb16c71d..620c9fb28f 100644 --- a/Marlin/src/gcode/calibrate/G34_M422.cpp +++ b/Marlin/src/gcode/calibrate/G34_M422.cpp @@ -22,6 +22,8 @@ #include "../../inc/MarlinConfigPre.h" +#if ENABLED(Z_STEPPER_AUTO_ALIGN) + #include "../gcode.h" #include "../../module/planner.h" #include "../../module/stepper.h" @@ -37,14 +39,9 @@ #include "../../module/tool_change.h" #endif - - #define DEBUG_OUT ENABLED(DEBUG_LEVELING_FEATURE) #include "../../core/debug_out.h" -#if ENABLED(Z_STEPPER_AUTO_ALIGN) - - #include "../../feature/z_stepper_align.h" #if ENABLED(Z_STEPPER_ALIGN_KNOWN_STEPPER_POSITIONS)