summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-07 15:38:10 +0000
committer[email protected] <[email protected]>2012-11-07 15:38:10 +0000
commite3b8d6f39804eeb20f46162fbc08843d00de5a23 (patch)
treeeca54d3b7d38eb647a0e6fb6c8a436d639d9382c /components/drivers
parent8cdbed763da559854d73f2e175594c4e75e49c35 (diff)
set bDeviceClass to CDC_CLASS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2397 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/usb/usbdevice/class/cdc_vcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/usb/usbdevice/class/cdc_vcom.c b/components/drivers/usb/usbdevice/class/cdc_vcom.c
index ee891cc989..6228370e16 100644
--- a/components/drivers/usb/usbdevice/class/cdc_vcom.c
+++ b/components/drivers/usb/usbdevice/class/cdc_vcom.c
@@ -36,7 +36,7 @@ static struct udevice_descriptor dev_desc =
USB_DESC_LENGTH_DEVICE, //bLength;
USB_DESC_TYPE_DEVICE, //type;
USB_BCD_VERSION, //bcdUSB;
- 0x00, //bDeviceClass;
+ USB_CLASS_CDC, //bDeviceClass;
0x00, //bDeviceSubClass;
0x00, //bDeviceProtocol;
0x40, //bMaxPacketSize0;