Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fa1a0ee63 |
+2
-2
@@ -192,9 +192,9 @@ static void MX_TIM2_Init(void)
|
||||
|
||||
/* USER CODE END TIM2_Init 1 */
|
||||
htim2.Instance = TIM2;
|
||||
htim2.Init.Prescaler = 4499;
|
||||
htim2.Init.Prescaler = 500;
|
||||
htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
|
||||
htim2.Init.Period = 14999;
|
||||
htim2.Init.Period = 8;
|
||||
htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
|
||||
htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
|
||||
if (HAL_TIM_Base_Init(&htim2) != HAL_OK)
|
||||
|
||||
Reference in new issue
Block a user