diff options
Diffstat (limited to 'src')
-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(); |