Fix compile without ENABLE_LEVELING_FADE_HEIGHT
This commit is contained in:
parent
415294801f
commit
8d14420331
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user