From 8d14420331960e6259f0d75db958b3848857aa29 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 1 Dec 2016 11:37:24 -0600 Subject: [PATCH] Fix compile without ENABLE_LEVELING_FADE_HEIGHT --- Marlin/planner.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/planner.cpp b/Marlin/planner.cpp index 9869373586..ea9dcf284d 100644 --- a/Marlin/planner.cpp +++ b/Marlin/planner.cpp @@ -552,6 +552,8 @@ void Planner::check_axes_activity() { } else z_fade_factor = 1.0; + #else + constexpr float z_fade_factor = 1.0; #endif #if ENABLED(MESH_BED_LEVELING)