Skip to content

Commit

Permalink
We don't need to clear the stepper ok field when we get a stop message.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 4, 2024
1 parent 744fb80 commit 55e408e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ class MotionController {
if (hardware.is_timer_interrupt_running()) {
hardware.request_cancel();
}
disable_motor();
hardware.deactivate_motor();
enabled = false;
}

auto read_limit_switch() -> bool { return hardware.check_limit_switch(); }
Expand Down

0 comments on commit 55e408e

Please sign in to comment.