diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-02-09 12:01:43 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-02-09 12:01:43 -0500 |
commit | 6f4822fe9681ffc990feb8d79d160b6bb896c59b (patch) | |
tree | 42fb5499e9dd56ca43afe5c3dbab3d085785cb03 /src/stm32/stm32f0_serial.c | |
parent | b3a180ea7723eb11cde757b25dc7f973765f0cf4 (diff) | |
download | kutter-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/stm32f0_serial.c')
-rw-r--r-- | src/stm32/stm32f0_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/stm32f0_serial.c b/src/stm32/stm32f0_serial.c index 452d66c9..2ea71f0c 100644 --- a/src/stm32/stm32f0_serial.c +++ b/src/stm32/stm32f0_serial.c @@ -19,7 +19,7 @@ #define USARTx USART1 #define USARTx_IRQn USART1_IRQn #elif CONFIG_SERIAL_PORT == 2 - #if STM32_SERIAL_USART2_ALT + #if CONFIG_STM32_SERIAL_USART2_ALT DECL_CONSTANT_STR("RESERVE_PINS_serial", "PA15,PA14"); #define GPIO_Rx GPIO('A', 15) #define GPIO_Tx GPIO('A', 14) |