altos/lpc: SPI runs off main clock (48MHz), not sysclk (24MHz)
[fw/altos] / src / lpc / ao_usb_lpc.c
index 0f8817207aecdadf7745e74eb1d1f348b9e91496..8070acc36ddd1f174b285fee8bec04fd016f705f 100644 (file)
@@ -81,7 +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 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,