Fix some warnings, Melzi pins
This commit is contained in:
parent
b310047ded
commit
c305c2cc6b
9 changed files with 134 additions and 58 deletions
|
|
@ -1395,7 +1395,7 @@ void Planner::check_axes_activity() {
|
|||
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
const float fade_scaling_factor = fade_scaling_factor_for_z(raw.z);
|
||||
#else
|
||||
#elif DISABLED(MESH_BED_LEVELING)
|
||||
constexpr float fade_scaling_factor = 1.0;
|
||||
#endif
|
||||
|
||||
|
|
@ -1432,7 +1432,7 @@ void Planner::check_axes_activity() {
|
|||
|
||||
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
||||
const float fade_scaling_factor = fade_scaling_factor_for_z(raw.z);
|
||||
#else
|
||||
#elif DISABLED(MESH_BED_LEVELING)
|
||||
constexpr float fade_scaling_factor = 1.0;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue