diff options
author | Keith Packard <keithp@keithp.com> | 2016-06-11 22:17:01 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2016-06-11 22:17:01 -0700 |
commit | eee7fa303fb0d80ac5d7b9c5a86af60333f61951 (patch) | |
tree | 974437e36d21fc81c67db31911c93e7dffdeec1e | |
parent | 1704d27248f1845c545ec61cf1bad58bf41189af (diff) |
altos/stmf0: Remove ao_usb_free
This can't work without a lot more effort.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/stmf0/ao_arch_funcs.h | 3 | ||||
-rw-r--r-- | src/stmf0/ao_usb_stm.c | 8 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/stmf0/ao_arch_funcs.h b/src/stmf0/ao_arch_funcs.h index ccfa3fc7..64311b23 100644 --- a/src/stmf0/ao_arch_funcs.h +++ b/src/stmf0/ao_arch_funcs.h @@ -409,9 +409,6 @@ uint16_t * ao_usb_alloc(void); void -ao_usb_free(uint16_t *buffer); - -void ao_usb_write(uint16_t *buffer, uint16_t len); void diff --git a/src/stmf0/ao_usb_stm.c b/src/stmf0/ao_usb_stm.c index 6393ee44..fb3d8c85 100644 --- a/src/stmf0/ao_usb_stm.c +++ b/src/stmf0/ao_usb_stm.c @@ -1192,14 +1192,6 @@ ao_usb_alloc(void) } void -ao_usb_free(uint16_t *addr) -{ - uint16_t offset = ao_usb_packet_buffer_offset(addr); - if (offset < ao_usb_sram_addr) - ao_usb_sram_addr = offset; -} - -void ao_usb_write(uint16_t *buffer, uint16_t len) { ao_arch_block_interrupts(); |