aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/serial.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-02-09 12:01:43 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-02-09 12:01:43 -0500
commit6f4822fe9681ffc990feb8d79d160b6bb896c59b (patch)
tree42fb5499e9dd56ca43afe5c3dbab3d085785cb03 /src/stm32/serial.c
parentb3a180ea7723eb11cde757b25dc7f973765f0cf4 (diff)
downloadkutter-6f4822fe9681ffc990feb8d79d160b6bb896c59b.tar.gz
kutter-6f4822fe9681ffc990feb8d79d160b6bb896c59b.tar.xz
kutter-6f4822fe9681ffc990feb8d79d160b6bb896c59b.zip
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>
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 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)