Skip to content

Commit

Permalink
enable motor before turning on the motor interrupt timer (#779)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder authored May 14, 2024
1 parent 7588c0f commit fb2308b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ class MotionController {
auto check_read_sync_line() -> bool { return hardware.check_sync_in(); }

void enable_motor() {
hardware.start_timer_interrupt();
hardware.activate_motor();
hardware.start_timer_interrupt();
enabled = true;
}

Expand Down

0 comments on commit fb2308b

Please sign in to comment.