summaryrefslogtreecommitdiff
path: root/src/stmf0/ao_serial_stm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stmf0/ao_serial_stm.c')
-rw-r--r--src/stmf0/ao_serial_stm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stmf0/ao_serial_stm.c b/src/stmf0/ao_serial_stm.c
index 06fc054a..e20b5755 100644
--- a/src/stmf0/ao_serial_stm.c
+++ b/src/stmf0/ao_serial_stm.c
@@ -348,7 +348,7 @@ ao_serial2_set_speed(uint8_t speed)
ao_usart_set_speed(&ao_stm_usart2, speed);
}
-#if HAS_SERIAL_SW_FLOW
+#if USE_SERIAL_2_FLOW && USE_SERIAL_2_SW_FLOW
void
ao_serial2_cts(void)
{