Skip to content

Commit

Permalink
enable motor before turning on the motor interrupt timer
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed May 13, 2024
1 parent 30ff770 commit e5ec0f7
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 e5ec0f7

Please sign in to comment.