From ab03a31cc99f6dcead63d21e0b1c492c9f531a52 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 24 Nov 2017 14:04:14 -0600 Subject: [PATCH] Patch G0/G1 for NANODLP_Z_SYNC --- Marlin/src/gcode/motion/G0_G1.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/gcode/motion/G0_G1.cpp b/Marlin/src/gcode/motion/G0_G1.cpp index 5d5ceddfd..8d485e374 100644 --- a/Marlin/src/gcode/motion/G0_G1.cpp +++ b/Marlin/src/gcode/motion/G0_G1.cpp @@ -31,6 +31,10 @@ #include "../../sd/cardreader.h" +#if ENABLED(NANODLP_Z_SYNC) + #include "../../module/stepper.h" +#endif + extern float destination[XYZE]; #if ENABLED(NO_MOTION_BEFORE_HOMING)