aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/serial.c
diff options
context:
space:
mode:
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)