We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9446948 commit b1fc971Copy full SHA for b1fc971
Tekdaqc_Libraries_Firmware/src/Tekdaqc_Timers.c
@@ -90,7 +90,7 @@ void Timer_Config(void) {
90
91
/* SystTick configuration: an interrupt every 1ms */
92
RCC_GetClocksFreq(&RCC_Clocks);
93
- SysTick_Config(RCC_Clocks.HCLK_Frequency / SYSTEMTICK_DIVIDER);
+ SysTick_Config(RCC_Clocks.HCLK_Frequency / (1000000/50)); //50us
94
95
/* Set Systick interrupt priority to 0*/
96
NVIC_SetPriority(SysTick_IRQn, 0U);
0 commit comments