diff options
| author | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:47:31 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:47:31 -0600 |
| commit | 7b614380f307cb5e27f2a05281bc76c4ace93334 (patch) | |
| tree | d243b069a134233f4b98e35769193a1244fc57f8 /src/stmf0/ao_arch_funcs.h | |
| parent | 16a9d8617b2d2092d166a85ada4349601afb0dce (diff) | |
| parent | 39023ed6e29103a85bfad505506fa0dbf4dc1112 (diff) | |
Merge branch 'master' into branch-1.8
Diffstat (limited to 'src/stmf0/ao_arch_funcs.h')
| -rw-r--r-- | src/stmf0/ao_arch_funcs.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/stmf0/ao_arch_funcs.h b/src/stmf0/ao_arch_funcs.h index 01d51f90..56a3bc75 100644 --- a/src/stmf0/ao_arch_funcs.h +++ b/src/stmf0/ao_arch_funcs.h @@ -488,14 +488,17 @@ static inline void ao_arch_start_scheduler(void) { /* ao_usb_stm.c */ #if AO_USB_DIRECTIO -uint16_t * -ao_usb_alloc(void); +uint8_t +ao_usb_alloc(uint16_t *buffers[2]); -void -ao_usb_write(uint16_t *buffer, uint16_t len); +uint8_t +ao_usb_alloc2(uint16_t *buffers[2]); -void -ao_usb_write2(uint16_t *buffer, uint16_t len); +uint8_t +ao_usb_write(uint16_t len); + +uint8_t +ao_usb_write2(uint16_t len); #endif /* AO_USB_DIRECTIO */ #endif /* _AO_ARCH_FUNCS_H_ */ |
