aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/serial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-05-24 21:06:04 -0400
committerKevin O'Connor <kevin@koconnor.net>2021-05-24 21:06:04 -0400
commitc1e8ee58e7bef33734c457f668f4d13942c1459d (patch)
tree9e2a212031f808f9825a2a7a6d395fb8758abce8 /src/stm32/serial.c
parent338bc82d0bcfb9be7655ca6c54791def0cd999d7 (diff)
downloadkutter-c1e8ee58e7bef33734c457f668f4d13942c1459d.tar.gz
kutter-c1e8ee58e7bef33734c457f668f4d13942c1459d.tar.xz
kutter-c1e8ee58e7bef33734c457f668f4d13942c1459d.zip
stm32: Include pin names in STM32_SERIAL_USART?_ALT kconfig symbols
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/serial.c')
-rw-r--r--src/stm32/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/serial.c b/src/stm32/serial.c
index 2e11304e..38432fa5 100644
--- a/src/stm32/serial.c
+++ b/src/stm32/serial.c
@@ -30,7 +30,7 @@
#define GPIO_Tx GPIO('B', 10)
#define USARTx USART3
#define USARTx_IRQn USART3_IRQn
-#elif CONFIG_STM32_SERIAL_USART3_ALT
+#elif CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8
DECL_CONSTANT_STR("RESERVE_PINS_serial", "PD9,PD8");
#define GPIO_Rx GPIO('D', 9)
#define GPIO_Tx GPIO('D', 8)