Skip to content

Commit

Permalink
keep the older estop behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 15, 2024
1 parent b385686 commit 6bb8553
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ class BrushedMotorInterruptHandler {
} else if (estop_triggered()) {
in_estop = true;
cancel_and_clear_moves(can::ids::ErrorCode::estop_detected);
hardware.set_motor_state(BrushedMotorState::UNHOMED);
} else if (hardware.has_cancel_request()) {
if (!hardware.get_stay_enabled() &&
hardware.get_motor_state() != BrushedMotorState::UNHOMED) {
Expand Down

0 comments on commit 6bb8553

Please sign in to comment.