Browse Source

Add SysTick callback

ST some time ago decided to disable SysTick Callback. But they kept all
functions. It think it prevents from heavy code in SysTick so you
should be careful what are you doing. FX lib onli decrease one variable
I think it's light enough to put it into SysTick interrupt :)"
master
Mateusz Salamon 5 years ago
parent
commit
bec350d43a
  1. 2
      Core/Src/stm32f1xx_it.c

2
Core/Src/stm32f1xx_it.c

@ -187,7 +187,7 @@ void SysTick_Handler(void)
/* USER CODE END SysTick_IRQn 0 */ /* USER CODE END SysTick_IRQn 0 */
HAL_IncTick(); HAL_IncTick();
/* USER CODE BEGIN SysTick_IRQn 1 */ /* USER CODE BEGIN SysTick_IRQn 1 */
HAL_SYSTICK_Callback();
/* USER CODE END SysTick_IRQn 1 */ /* USER CODE END SysTick_IRQn 1 */
} }

Loading…
Cancel
Save