Merge pull request #5338 from thinkyhead/rc_fix_fade_factor

Fix compile without ENABLE_LEVELING_FADE_HEIGHT
This commit is contained in:
Scott Lahteine 2016-12-01 12:06:39 -06:00 committed by GitHub
commit 14b1500525

View file

@ -552,6 +552,8 @@ void Planner::check_axes_activity() {
} }
else else
z_fade_factor = 1.0; z_fade_factor = 1.0;
#else
constexpr float z_fade_factor = 1.0;
#endif #endif
#if ENABLED(MESH_BED_LEVELING) #if ENABLED(MESH_BED_LEVELING)