fix IAR alignment OHCI hcca will occupies the whole 256 (instead of just 252 like the specs)

This commit is contained in:
hathach
2014-03-12 16:34:05 +07:00
parent 1ad138e322
commit 13dd843a9f
2 changed files with 4 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ enum {
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+
TUSB_CFG_ATTR_USBRAM STATIC_VAR ohci_data_t ohci_data;
TUSB_CFG_ATTR_USBRAM ATTR_ALIGNED(256) STATIC_VAR ohci_data_t ohci_data;
static ohci_ed_t * const p_ed_head[] =
{