summaryrefslogtreecommitdiff
path: root/src/stm/ao_serial_stm.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-02-04 22:24:37 -0800
committerKeith Packard <keithp@keithp.com>2019-02-18 13:08:23 -0800
commitc11427819ca24bb77523496309b5b6f699d126c5 (patch)
tree29cab045cde088881d971b175708245b17d09ce6 /src/stm/ao_serial_stm.c
parent119a829e58aff5dd7801fe7ef8cae886bf31fec1 (diff)
altos: Mark local functions 'static'
Working towards supporting -Wmissing-prototypes Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/ao_serial_stm.c')
-rw-r--r--src/stm/ao_serial_stm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/ao_serial_stm.c b/src/stm/ao_serial_stm.c
index c1a2f1bd..7a552e5d 100644
--- a/src/stm/ao_serial_stm.c
+++ b/src/stm/ao_serial_stm.c
@@ -339,7 +339,7 @@ ao_serial2_set_speed(uint8_t speed)
}
#if HAS_SERIAL_SW_FLOW
-void
+static void
ao_serial2_cts(void)
{
_ao_usart_cts(&ao_stm_usart2);