#pragma once #include #include namespace modules { namespace motion { struct AxisSim { pos_t pos; bool enabled; bool homed; bool stallGuard; int16_t sg_thrs; std::deque plannedMoves; }; extern AxisSim axes[3]; void ReinitMotion(); bool PulleyEnabled(); void TriggerStallGuard(Axis axis); pos_t AxisNearestTargetPos(Axis axis); } // namespace motion } // namespace modules