Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianmiriuta committed Oct 17, 2020
1 parent d7691d8 commit 7ffbf94
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/drivers/motor.c
Original file line number Diff line number Diff line change
Expand Up @@ -395,13 +395,11 @@ void motorStart() {

motor.ComplementaryPWM = true;


for (uint32_t i = 1; i < MOTOR_BLDC_STEPS; i++) {
motorCommutate();
HAL_Delay(2);
}


motorCommutationTimerHandle.Instance->CNT = 0;
motor.BemfCounter = 0;
motor.Running = true;
Expand Down

0 comments on commit 7ffbf94

Please sign in to comment.