From 953cf6f7d644be829ce6ccd5249358f5ebdd06da Mon Sep 17 00:00:00 2001 From: InsanityAutomation Date: Thu, 17 Sep 2020 11:16:01 -0400 Subject: [PATCH] Fix compile errors --- Marlin/src/gcode/calibrate/G34_M422.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Marlin/src/gcode/calibrate/G34_M422.cpp b/Marlin/src/gcode/calibrate/G34_M422.cpp index 07fb6a3fff..f97512353e 100644 --- a/Marlin/src/gcode/calibrate/G34_M422.cpp +++ b/Marlin/src/gcode/calibrate/G34_M422.cpp @@ -54,6 +54,15 @@ #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) + #include "../../libs/least_squares_fit.h" +#endif + /** * G34: Z-Stepper automatic alignment *