🎨 Apply shorthand and cleanups

This commit is contained in:
Scott Lahteine
2021-05-22 21:12:53 -05:00
parent 7cd0f2a32a
commit 7597b4fb40
5 changed files with 10 additions and 29 deletions

View File

@ -491,7 +491,7 @@ class Planner {
#if HAS_CLASSIC_JERK
static void set_max_jerk(const AxisEnum axis, float inMaxJerkMMS);
#else
static inline void set_max_jerk(const AxisEnum, const_float_t ) {}
static inline void set_max_jerk(const AxisEnum, const_float_t) {}
#endif
#if HAS_EXTRUDERS
@ -592,9 +592,9 @@ class Planner {
#else
FORCE_INLINE static float fade_scaling_factor_for_z(const_float_t ) { return 1; }
FORCE_INLINE static float fade_scaling_factor_for_z(const_float_t) { return 1; }
FORCE_INLINE static bool leveling_active_at_z(const_float_t ) { return true; }
FORCE_INLINE static bool leveling_active_at_z(const_float_t) { return true; }
#endif