Browse Source

Merge pull request #760 from TanekLiang/stm32f40x

[bsp] fixed uart5 tx rcc error
Bernard Xiong 8 years ago
parent
commit
8034add04a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32f40x/drivers/usart.c

+ 1 - 1
bsp/stm32f40x/drivers/usart.c

@@ -61,7 +61,7 @@
 #define UART5_RX_PIN_SOURCE GPIO_PinSource2
 #define UART5_TX            GPIOC
 #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 RCC_APBPeriph_UART5 RCC_APB1Periph_UART5