Merge pull request #760 from TanekLiang/stm32f40x
[bsp] fixed uart5 tx rcc error
This commit is contained in:
commit
8034add04a
|
@ -61,7 +61,7 @@
|
||||||
#define UART5_RX_PIN_SOURCE GPIO_PinSource2
|
#define UART5_RX_PIN_SOURCE GPIO_PinSource2
|
||||||
#define UART5_TX GPIOC
|
#define UART5_TX GPIOC
|
||||||
#define UART5_RX GPIOD
|
#define UART5_RX GPIOD
|
||||||
#define UART5_GPIO_RCC_TX RCC_AHB1Periph_GPIOB
|
#define UART5_GPIO_RCC_TX RCC_AHB1Periph_GPIOC
|
||||||
#define UART5_GPIO_RCC_RX RCC_AHB1Periph_GPIOD
|
#define UART5_GPIO_RCC_RX RCC_AHB1Periph_GPIOD
|
||||||
#define RCC_APBPeriph_UART5 RCC_APB1Periph_UART5
|
#define RCC_APBPeriph_UART5 RCC_APB1Periph_UART5
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue