Skip to content

Commit

Permalink
rm solenoid operations while closing tc lid (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj authored Nov 18, 2024
1 parent f3c6722 commit bc59475
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,6 @@ class MotorTask {
if (_lid_stepper_state.status != LidStepperState::Status::IDLE) {
return false;
}
// First release the latch
policy.lid_solenoid_engage();
// Update velocity for this movement
std::ignore = policy.lid_stepper_set_rpm(
LidStepperState::LID_DEFAULT_VELOCITY_RPM);
Expand Down Expand Up @@ -1305,9 +1303,6 @@ class MotorTask {
LidStepperState::Status::CLOSE_OVERDRIVE;
break;
case LidStepperState::Status::CLOSE_OVERDRIVE:
// Now that the lid is at the closed position,
// the solenoid can be safely turned off
policy.lid_solenoid_disengage();
// Turn off lid stepper current
policy.lid_stepper_set_dac(LID_STEPPER_HOLD_CURRENT);
// Movement is done
Expand Down

0 comments on commit bc59475

Please sign in to comment.