CF/BF - Fix STM32F4 DMA mappings for TIM8_CH2.

For Tim8Ch2, it should be
0: DMA2_ST3/DMA_Channel_0
1: DMA2_ST2/DMA_Channel_7

https://github.com/cleanflight/cleanflight/pull/2683#discussion_r109164830

See DM00031020 STM32F405xx Reference Manual page 309.

Thanks @ledvinap and @McGiverGim
This commit is contained in:
Hydra 2017-04-01 14:19:58 +01:00 committed by Dominic Clifton
parent 02b8204fb1
commit 6bbd6c3894
1 changed files with 2 additions and 2 deletions

View File

@ -318,8 +318,8 @@
#define DEF_TIM_DMA_STR_1__TIM8_CH1 DMA2_ST2
#define DEF_TIM_DMA_STR_0__TIM8_CH1N DMA2_ST2
#define DEF_TIM_DMA_STR_1__TIM8_CH1N DMA2_ST2
#define DEF_TIM_DMA_STR_0__TIM8_CH2 DMA2_ST3
#define DEF_TIM_DMA_STR_1__TIM8_CH2 DMA2_ST2
#define DEF_TIM_DMA_STR_0__TIM8_CH2 DMA2_ST2
#define DEF_TIM_DMA_STR_1__TIM8_CH2 DMA2_ST3
#define DEF_TIM_DMA_STR_0__TIM8_CH2N DMA2_ST3
#define DEF_TIM_DMA_STR_1__TIM8_CH2N DMA2_ST2
#define DEF_TIM_DMA_STR_0__TIM8_CH3 DMA2_ST2