From d0720a565f2e0b482bb5f451834630b951e384e0 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 25 Feb 2018 21:34:56 -0600 Subject: [PATCH] Finish ubl header patch Followup to aa380ae --- Marlin/planner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/planner.cpp b/Marlin/planner.cpp index 85ca832beb..8ea9b77fac 100644 --- a/Marlin/planner.cpp +++ b/Marlin/planner.cpp @@ -58,19 +58,19 @@ * */ -#include "MarlinConfig.h" #include "planner.h" #include "stepper.h" #include "temperature.h" #include "ultralcd.h" #include "language.h" -#include "ubl.h" #include "gcode.h" #include "Marlin.h" #if ENABLED(MESH_BED_LEVELING) #include "mesh_bed_leveling.h" +#elif ENABLED(AUTO_BED_LEVELING_UBL) + #include "ubl.h" #endif #if ENABLED(AUTO_POWER_CONTROL)