Cleanup constexpr in planner.cpp

This commit is contained in:
Scott Lahteine 2017-12-05 18:54:25 -06:00
parent 23291a0466
commit 2d6c84a817

View File

@ -130,11 +130,7 @@ float Planner::min_feedrate_mm_s,
float Planner::xy_skew_factor; float Planner::xy_skew_factor;
#if ENABLED(SKEW_CORRECTION_FOR_Z) #if ENABLED(SKEW_CORRECTION_FOR_Z)
float Planner::xz_skew_factor, Planner::yz_skew_factor; float Planner::xz_skew_factor, Planner::yz_skew_factor;
#else
constexpr float Planner::xz_skew_factor, Planner::yz_skew_factor;
#endif #endif
#else
constexpr float Planner::xy_skew_factor, Planner::xz_skew_factor, Planner::yz_skew_factor;
#endif #endif
#endif #endif