diff options
| author | [email protected] <[email protected]> | 2012-11-07 15:38:10 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-07 15:38:10 +0000 |
| commit | e3b8d6f39804eeb20f46162fbc08843d00de5a23 (patch) | |
| tree | eca54d3b7d38eb647a0e6fb6c8a436d639d9382c /components/drivers | |
| parent | 8cdbed763da559854d73f2e175594c4e75e49c35 (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.c | 2 |
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;
|
