From 6f4822fe9681ffc990feb8d79d160b6bb896c59b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 9 Feb 2020 12:01:43 -0500 Subject: stm32: Fix typo that broke selection of alternate serial port pin Fix a typo in commit aea15250. Signed-off-by: Kevin O'Connor --- src/stm32/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stm32/serial.c') diff --git a/src/stm32/serial.c b/src/stm32/serial.c index b0cb1f55..9c3e7e84 100644 --- a/src/stm32/serial.c +++ b/src/stm32/serial.c @@ -25,7 +25,7 @@ #define USARTx USART2 #define USARTx_IRQn USART2_IRQn #elif CONFIG_SERIAL_PORT == 3 - #if STM32_SERIAL_USART3_ALT + #if CONFIG_STM32_SERIAL_USART3_ALT DECL_CONSTANT_STR("RESERVE_PINS_serial", "PD9,PD8"); #define GPIO_Rx GPIO('D', 9) #define GPIO_Tx GPIO('D', 8) -- cgit v1.2.3-70-g09d2