summaryrefslogtreecommitdiff
path: root/tinyusb/host/hub.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-04-17 18:02:51 +0700
committerhathach <[email protected]>2014-04-17 18:02:51 +0700
commit44b36d74f2c75b4aae061d95e5468c367a8ed1a3 (patch)
treeac35d2f12aba56688767feea538e9a35e54e0c96 /tinyusb/host/hub.c
parentc4c8ca857c084c86236584309bea641b6473ae91 (diff)
clean up STATIC_VAR
Diffstat (limited to 'tinyusb/host/hub.c')
-rw-r--r--tinyusb/host/hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/hub.c b/tinyusb/host/hub.c
index 2a9764bd1..3259732e3 100644
--- a/tinyusb/host/hub.c
+++ b/tinyusb/host/hub.c
@@ -58,7 +58,7 @@ typedef struct {
uint8_t status_change; // data from status change interrupt endpoint
}usbh_hub_t;
-TUSB_CFG_ATTR_USBRAM usbh_hub_t hub_data[TUSB_CFG_HOST_DEVICE_MAX];
+TUSB_CFG_ATTR_USBRAM STATIC_VAR usbh_hub_t hub_data[TUSB_CFG_HOST_DEVICE_MAX];
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);