From f650211f9e99e1d3d0ae13ae559dd1c082f71545 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 12 Dec 2016 16:44:47 -0800 Subject: [PATCH] altos/stm: Make ao_usb_set_address static. Saves a bunch of text space I'm sure this makes the function end up in-lined, which saves enough text space to fit the flash loader in ROM again. Signed-off-by: Keith Packard --- src/stm/ao_usb_stm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stm/ao_usb_stm.c b/src/stm/ao_usb_stm.c index 0de501ab..f2b8ea94 100644 --- a/src/stm/ao_usb_stm.c +++ b/src/stm/ao_usb_stm.c @@ -174,7 +174,7 @@ static inline uint32_t ao_usb_epr_dtog_tx(uint32_t epr) { * Set current device address and mark the * interface as active */ -void +static void ao_usb_set_address(uint8_t address) { debug("ao_usb_set_address %02x\n", address); -- 2.30.2