stm32: Fix typo that broke selection of alternate serial port pin
Fix a typo in commit aea15250
.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
b3a180ea77
commit
6f4822fe96
|
@ -25,7 +25,7 @@
|
||||||
#define USARTx USART2
|
#define USARTx USART2
|
||||||
#define USARTx_IRQn USART2_IRQn
|
#define USARTx_IRQn USART2_IRQn
|
||||||
#elif CONFIG_SERIAL_PORT == 3
|
#elif CONFIG_SERIAL_PORT == 3
|
||||||
#if STM32_SERIAL_USART3_ALT
|
#if CONFIG_STM32_SERIAL_USART3_ALT
|
||||||
DECL_CONSTANT_STR("RESERVE_PINS_serial", "PD9,PD8");
|
DECL_CONSTANT_STR("RESERVE_PINS_serial", "PD9,PD8");
|
||||||
#define GPIO_Rx GPIO('D', 9)
|
#define GPIO_Rx GPIO('D', 9)
|
||||||
#define GPIO_Tx GPIO('D', 8)
|
#define GPIO_Tx GPIO('D', 8)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#define USARTx USART1
|
#define USARTx USART1
|
||||||
#define USARTx_IRQn USART1_IRQn
|
#define USARTx_IRQn USART1_IRQn
|
||||||
#elif CONFIG_SERIAL_PORT == 2
|
#elif CONFIG_SERIAL_PORT == 2
|
||||||
#if STM32_SERIAL_USART2_ALT
|
#if CONFIG_STM32_SERIAL_USART2_ALT
|
||||||
DECL_CONSTANT_STR("RESERVE_PINS_serial", "PA15,PA14");
|
DECL_CONSTANT_STR("RESERVE_PINS_serial", "PA15,PA14");
|
||||||
#define GPIO_Rx GPIO('A', 15)
|
#define GPIO_Rx GPIO('A', 15)
|
||||||
#define GPIO_Tx GPIO('A', 14)
|
#define GPIO_Tx GPIO('A', 14)
|
||||||
|
|
Loading…
Reference in New Issue