Cleanup constextpr in planner.cpp

This commit is contained in:
Scott Lahteine 2017-12-05 18:55:57 -06:00
parent a2372cfab5
commit d8b444c144

View File

@ -141,11 +141,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