summaryrefslogtreecommitdiff
path: root/components/drivers/include
diff options
context:
space:
mode:
authorZYH <[email protected]>2018-03-16 16:02:57 +0800
committerZYH <[email protected]>2018-03-16 16:02:57 +0800
commit0ab93e70f09cc925eb914c1825aefdfcadb0091e (patch)
tree1e0d7702d968f08a64acf7199c22f8821c7e8337 /components/drivers/include
parentbce9bc47af60f340e41f5d4e978972322b0fde83 (diff)
[Components][USB Device]增加协议栈对HS设备的支持
- 增加winusb对HS的支持。其余class还在完善中
Diffstat (limited to 'components/drivers/include')
-rw-r--r--components/drivers/include/drivers/usb_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/include/drivers/usb_device.h b/components/drivers/include/drivers/usb_device.h
index 48f407cc3d..caa171079b 100644
--- a/components/drivers/include/drivers/usb_device.h
+++ b/components/drivers/include/drivers/usb_device.h
@@ -140,6 +140,7 @@ struct udcd
struct uendpoint ep0;
uep0_stage_t stage;
struct ep_id* ep_pool;
+ rt_uint8_t device_is_hs;
};
typedef struct udcd* udcd_t;