Merge pull request #760 from TanekLiang/stm32f40x

[bsp] fixed uart5 tx rcc error
This commit is contained in:
Bernard Xiong 2017-07-09 09:10:03 +08:00 committed by GitHub
commit 8034add04a
1 changed files with 1 additions and 1 deletions

View File

@ -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