diff --git a/bsp/stm32f40x/drivers/usart.c b/bsp/stm32f40x/drivers/usart.c index d0ce27172..5b6018839 100644 --- a/bsp/stm32f40x/drivers/usart.c +++ b/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