Skip to content

Commit

Permalink
Update - arrange motion.h
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 committed Dec 31, 2024
1 parent 4b9ece1 commit 22ea50f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Marlin/src/module/motion.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,16 @@ XYZ_DEFS(float, max_length, MAX_LENGTH);
XYZ_DEFS(int8_t, home_dir, HOME_DIR);

// Flags for rotational axes
constexpr AxisFlags rotational{0 LOGICAL_AXIS_GANG(
constexpr AxisFlags rotational{
0 LOGICAL_AXIS_GANG(
| 0, | 0, | 0, | 0,
| (ENABLED(AXIS4_ROTATES)<<I_AXIS), | (ENABLED(AXIS5_ROTATES)<<J_AXIS), | (ENABLED(AXIS6_ROTATES)<<K_AXIS),
| (ENABLED(AXIS7_ROTATES)<<U_AXIS), | (ENABLED(AXIS8_ROTATES)<<V_AXIS), | (ENABLED(AXIS9_ROTATES)<<W_AXIS))
| (ENABLED(AXIS4_ROTATES)<<I_AXIS),
| (ENABLED(AXIS5_ROTATES)<<J_AXIS),
| (ENABLED(AXIS6_ROTATES)<<K_AXIS),
| (ENABLED(AXIS7_ROTATES)<<U_AXIS),
| (ENABLED(AXIS8_ROTATES)<<V_AXIS),
| (ENABLED(AXIS9_ROTATES)<<W_AXIS)
)
};

inline float home_bump_mm(const AxisEnum axis) {
Expand Down

0 comments on commit 22ea50f

Please sign in to comment.