From 5e2ed2534ebc7576f028e09023bae923965c645e Mon Sep 17 00:00:00 2001 From: hathach Date: Fri, 14 Mar 2014 11:59:39 +0700 Subject: clean up warning in lpcxpresso remove -Wpacked -Wpadded in gcc --- tinyusb/host/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/host/hub.c') 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; -- cgit v1.3.1