forked from j3d1/fiatlux
Fixed stuff
This commit is contained in:
parent
b03ac0fef3
commit
4618dc95a9
5 changed files with 68 additions and 23 deletions
|
|
@ -43,7 +43,7 @@ void MX_TIM1_Init(void)
|
|||
|
||||
/* USER CODE END TIM1_Init 1 */
|
||||
htim1.Instance = TIM1;
|
||||
htim1.Init.Prescaler = 0;
|
||||
htim1.Init.Prescaler = 90;
|
||||
htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
|
||||
htim1.Init.Period = 65535;
|
||||
htim1.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
|
||||
|
|
@ -114,7 +114,7 @@ void MX_TIM3_Init(void)
|
|||
|
||||
/* USER CODE END TIM3_Init 1 */
|
||||
htim3.Instance = TIM3;
|
||||
htim3.Init.Prescaler = 0;
|
||||
htim3.Init.Prescaler = 90;
|
||||
htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
|
||||
htim3.Init.Period = 65535;
|
||||
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue