From 46c73e70bae051a4fdc2308ac8e08422e44348e2 Mon Sep 17 00:00:00 2001 From: ke deng Date: Thu, 3 Jul 2025 00:30:19 +0800 Subject: [PATCH] Update STM32F4 DMA-Timer mapping comments for datasheet compliance (#14492) --- src/platform/STM32/timer_stm32f4xx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/STM32/timer_stm32f4xx.c b/src/platform/STM32/timer_stm32f4xx.c index ed193e64f7..c2993a687c 100644 --- a/src/platform/STM32/timer_stm32f4xx.c +++ b/src/platform/STM32/timer_stm32f4xx.c @@ -200,7 +200,7 @@ const timerHardware_t fullTimerHardware[FULL_TIMER_CHANNEL_COUNT] = { 0 1 2 TIM4_CH1 TIM4_CH2 TIM4_CH3 - 3 TIM2_CH3 TIM2_CH1 TIM2_CH1 TIM2_CH4 + 3 TIM2_CH3 TIM2_CH1 TIM2_CH2 TIM2_CH4 TIM2_CH4 4 5 TIM3_CH4 TIM3_CH1 TIM3_CH2 TIM3_CH3 @@ -218,8 +218,8 @@ const timerHardware_t fullTimerHardware[FULL_TIMER_CHANNEL_COUNT] = { 3 4 5 - 6 TIM1_CH1 TIM1_CH2 TIM1_CH1 TIM1_CH4 TIM1_CH3 - 7 TIM8_CH1 TIM8_CH2 TIM8_CH3 TIM8_CH4 + 6 TIM1_CH1 TIM1_CH2 TIM1_CH1 TIM1_CH4 TIM1_CH3 + 7 TIM8_CH1 TIM8_CH2 TIM8_CH3 TIM8_CH4 */ uint32_t timerClock(const TIM_TypeDef *tim)