Remove Motion::Home completely
parent
dea41738a5
commit
52a6d57704
|
|
@ -44,10 +44,6 @@ void Motion::StallGuardReset(Axis axis) {
|
|||
axisData[axis].drv.ClearStallguard(axisParams[axis].params);
|
||||
}
|
||||
|
||||
// TODO: not implemented
|
||||
void Motion::Home(Axis axis, bool direction) {
|
||||
}
|
||||
|
||||
void Motion::PlanMoveTo(Axis axis, pos_t pos, steps_t feed_rate, steps_t end_rate) {
|
||||
if (axisData[axis].ctrl.PlanMoveTo(pos, feed_rate, end_rate)) {
|
||||
// move was queued, prepare the axis
|
||||
|
|
|
|||
|
|
@ -101,9 +101,6 @@ public:
|
|||
/// clear stall guard flag reported on an axis
|
||||
void StallGuardReset(Axis axis);
|
||||
|
||||
/// Enqueue performing of homing of an axis
|
||||
void Home(Axis axis, bool direction);
|
||||
|
||||
/// Enqueue a single axis move in steps starting and ending at zero speed with maximum
|
||||
/// feedrate. Moves can only be enqueued if the axis is not Full().
|
||||
/// @param axis axis affected
|
||||
|
|
|
|||
|
|
@ -40,9 +40,9 @@ pos_t Motion::Position(Axis axis) const {
|
|||
return axes[axis].pos;
|
||||
}
|
||||
|
||||
void Motion::Home(Axis axis, bool direction) {
|
||||
axes[Pulley].homed = true;
|
||||
}
|
||||
//void Motion::Home(Axis axis, bool direction) {
|
||||
// axes[Pulley].homed = true;
|
||||
//}
|
||||
|
||||
void Motion::SetMode(Axis axis, hal::tmc2130::MotorMode mode) {
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue