projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stmf0: Use double buffering for ChaosKey
[fw/altos]
/
src
/
stmf0
/
ao_arch_funcs.h
diff --git
a/src/stmf0/ao_arch_funcs.h
b/src/stmf0/ao_arch_funcs.h
index 01d51f90c17970b68140eaeef2b5342a7284de1d..56a3bc75e0a38dfa84f6772609e49d23b2cc2179 100644
(file)
--- 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
/* ao_usb_stm.c */
#if AO_USB_DIRECTIO
-uint
16_t *
-ao_usb_alloc(
void
);
+uint
8_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_ */
#endif /* AO_USB_DIRECTIO */
#endif /* _AO_ARCH_FUNCS_H_ */