diff options
author | Keith Packard <keithp@keithp.com> | 2016-12-12 16:44:47 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-12-12 16:44:47 -0800 |
commit | f650211f9e99e1d3d0ae13ae559dd1c082f71545 (patch) | |
tree | 99ae790b8281bb3d7b58880fdf2b97b08c36f122 /src | |
parent | d46698a01ed4903d36635b34867bfc4bb8fbafc6 (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/stm/ao_usb_stm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |