From 23291a04666a9e87c32ae2b9adcccc2485b2b9c6 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 5 Dec 2017 18:40:17 -0600 Subject: [PATCH] Fix SKEW_CORRECTION without leveling --- Marlin/planner.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/planner.h b/Marlin/planner.h index eaaddc057..85ebcba08 100644 --- a/Marlin/planner.h +++ b/Marlin/planner.h @@ -170,6 +170,8 @@ class Planner { #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT) static float z_fade_height, inverse_z_fade_height; #endif + #else + static constexpr bool leveling_active = false; #endif #if ENABLED(LIN_ADVANCE)