diff options
| author | hathach <[email protected]> | 2014-03-14 11:59:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-14 11:59:39 +0700 |
| commit | 5e2ed2534ebc7576f028e09023bae923965c645e (patch) | |
| tree | 1f613ccf069bcdb02d65ec91f3d1bb428a205e70 /tinyusb/host/hub.c | |
| parent | 214af7e9885f100d4f4d1882e9305899b6afc2b7 (diff) | |
clean up warning in lpcxpresso
remove -Wpacked -Wpadded in gcc
Diffstat (limited to 'tinyusb/host/hub.c')
| -rw-r--r-- | tinyusb/host/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/hub.c b/tinyusb/host/hub.c index 051647018..5e6744c21 100644 --- a/tinyusb/host/hub.c +++ b/tinyusb/host/hub.c @@ -59,7 +59,7 @@ typedef struct { }usbh_hub_t;
TUSB_CFG_ATTR_USBRAM usbh_hub_t hub_data[TUSB_CFG_HOST_DEVICE_MAX];
-TUSB_CFG_ATTR_USBRAM uint8_t hub_enum_buffer[sizeof(descriptor_hub_desc_t)];
+ATTR_ALIGNED(4) TUSB_CFG_ATTR_USBRAM STATIC_VAR uint8_t hub_enum_buffer[sizeof(descriptor_hub_desc_t)];
//OSAL_SEM_DEF(hub_enum_semaphore);
//static osal_semaphore_handle_t hub_enum_sem_hdl;
|
