File tree Expand file tree Collapse file tree
samples/timer_configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ int main() {
4848 TIM_CLOCKDIVISION_DIV1 , // Used the default clock division
4949 TIM_AUTORELOAD_PRELOAD_ENABLE , // Enables the auto reload preload which makes TIMx_ARR buffered.
5050 TIM_CLOCKSOURCE_INTERNAL , // Set the clock source to be the microcontrollers internal clock.
51- TIM_TRGO_RESET , // Tells the timer to reset whenever it enters a Master / Slave configuration. Will not be
52- // triggered or used in this configuration.
53- TIM_MASTERSLAVEMODE_DISABLE // Disable Masster Slave Mode for the timer
51+ TIM_TRGO_RESET , // Tells the timer to reset whenever it enters a Master / Slave configuration. Will not be
52+ // triggered or used in this configuration.
53+ TIM_MASTERSLAVEMODE_DISABLE // Disable Masster Slave Mode for the timer
5454 };
5555
5656 // Set up the Timer
You can’t perform that action at this time.
0 commit comments