summaryrefslogtreecommitdiff
path: root/tinyusb/host/hub.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/host/hub.c')
-rw-r--r--tinyusb/host/hub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/host/hub.c b/tinyusb/host/hub.c
index 99cebc292..e87ce62f0 100644
--- a/tinyusb/host/hub.c
+++ b/tinyusb/host/hub.c
@@ -58,8 +58,8 @@ typedef struct {
uint8_t status_change; // data from status change interrupt endpoint
}usbh_hub_t;
-usbh_hub_t hub_data[TUSB_CFG_HOST_DEVICE_MAX] TUSB_CFG_ATTR_USBRAM;
-uint8_t hub_enum_buffer[sizeof(descriptor_hub_desc_t)] TUSB_CFG_ATTR_USBRAM;
+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)];
//OSAL_SEM_DEF(hub_enum_semaphore);
//static osal_semaphore_handle_t hub_enum_sem_hdl;