altos/stm: Make ao_usb_set_address static. Saves a bunch of text space
authorKeith Packard <keithp@keithp.com>
Tue, 13 Dec 2016 00:44:47 +0000 (16:44 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 13 Dec 2016 00:44:47 +0000 (16:44 -0800)
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>
src/stm/ao_usb_stm.c

index 0de501ab5cfac7a05adcf8498e965021add0faf4..f2b8ea94cfe0aa4fb10ee23c420f4c12f581c52c 100644 (file)
@@ -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);