altos/lpc: Don't use loader to place USB endpoint data in USB ram
[fw/altos] / src / lpc / ao_usb_lpc.c
index cd8967249643c365312985816a37a4429dfd681d..8070acc36ddd1f174b285fee8bec04fd016f705f 100644 (file)
@@ -81,8 +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;
 
-__attribute__((section(".usb")))
-static struct lpc_usb_endpoint lpc_usb_endpoint __attribute((aligned(256)));
+extern struct lpc_usb_endpoint lpc_usb_endpoint;
 
 /* Marks when we don't need to send an IN packet.
  * This happens only when the last IN packet is not full,