Move axis_homed, axis_known_position to motion.*

This commit is contained in:
Scott Lahteine
2018-10-31 17:07:52 -05:00
parent 946cf8b453
commit 44f2a82a56
9 changed files with 31 additions and 31 deletions

View File

@@ -189,12 +189,6 @@ extern bool Running;
inline bool IsRunning() { return Running; }
inline bool IsStopped() { return !Running; }
extern uint8_t axis_homed, axis_known_position;
constexpr uint8_t xyz_bits = _BV(X_AXIS) | _BV(Y_AXIS) | _BV(Z_AXIS);
FORCE_INLINE bool all_axes_homed() { return (axis_homed & xyz_bits) == xyz_bits; }
FORCE_INLINE bool all_axes_known() { return (axis_known_position & xyz_bits) == xyz_bits; }
extern volatile bool wait_for_heatup;
#if HAS_RESUME_CONTINUE