diff options
author | Keith Packard <keithp@keithp.com> | 2016-12-12 16:44:47 -0800 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2016-12-13 00:18:50 -0700 |
commit | 7a2897b05ff25fc90183408630b1f053b2df7322 (patch) | |
tree | cfee956ce9c53251d8e31b008474a65c53b6bbf9 | |
parent | f22b5bf5c442133b68c9f0b5551ce3a32b17cc6c (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>
-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); |