diff options
| author | hathach <[email protected]> | 2014-04-17 18:02:51 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-17 18:02:51 +0700 |
| commit | 44b36d74f2c75b4aae061d95e5468c367a8ed1a3 (patch) | |
| tree | ac35d2f12aba56688767feea538e9a35e54e0c96 /tinyusb/host/ehci | |
| parent | c4c8ca857c084c86236584309bea641b6473ae91 (diff) | |
clean up STATIC_VAR
Diffstat (limited to 'tinyusb/host/ehci')
| -rw-r--r-- | tinyusb/host/ehci/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c index 62915b6b8..cd50c64f5 100644 --- a/tinyusb/host/ehci/ehci.c +++ b/tinyusb/host/ehci/ehci.c @@ -70,7 +70,7 @@ TUSB_CFG_ATTR_USBRAM STATIC_VAR ehci_data_t ehci_data; #endif
#if (TUSB_CFG_CONTROLLER_1_MODE & TUSB_MODE_HOST)
- TUSB_CFG_ATTR_USBRAM STATIC_VAR ehci_link_t period_frame_list1[EHCI_FRAMELIST_SIZE] ATTR_ALIGNED(4096);
+ TUSB_CFG_ATTR_USBRAM ATTR_ALIGNED(4096) STATIC_VAR ehci_link_t period_frame_list1[EHCI_FRAMELIST_SIZE];
#ifndef __ICCARM__ // IAR cannot able to determine the alignment with datalignment pragma
STATIC_ASSERT( ALIGN_OF(period_frame_list1) == 4096, "Period Framelist must be 4k alginment"); // validation
|
