projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Use ao_spi_get/put_bit in MS5607 driver
[fw/altos]
/
src
/
lpc
/
ao_usb_lpc.c
diff --git
a/src/lpc/ao_usb_lpc.c
b/src/lpc/ao_usb_lpc.c
index 0f8817207aecdadf7745e74eb1d1f348b9e91496..cd8967249643c365312985816a37a4429dfd681d 100644
(file)
--- a/
src/lpc/ao_usb_lpc.c
+++ b/
src/lpc/ao_usb_lpc.c
@@
-81,6
+81,7
@@
static uint8_t ao_usb_tx_count;
static uint8_t ao_usb_rx_buffer[AO_USB_OUT_SIZE];
static uint8_t ao_usb_rx_count, ao_usb_rx_pos;
static uint8_t ao_usb_rx_buffer[AO_USB_OUT_SIZE];
static uint8_t ao_usb_rx_count, ao_usb_rx_pos;
+__attribute__((section(".usb")))
static struct lpc_usb_endpoint lpc_usb_endpoint __attribute((aligned(256)));
/* Marks when we don't need to send an IN packet.
static struct lpc_usb_endpoint lpc_usb_endpoint __attribute((aligned(256)));
/* Marks when we don't need to send an IN packet.