X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_serial_stm.c;fp=src%2Fstmf0%2Fao_serial_stm.c;h=e20b57550982437f64236b0cd79617f20b83b7c1;hp=06fc054ae9879153e8ce43a0d393d7da1f3f28ed;hb=f132a22995235f3002e4a2bb8771c9b5738efb30;hpb=2536640b852feff41975d2da50befdda91ee6303 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) {