Dependencies: ChaNFSSD mbed ChaNFS
Diff: USBMSC.cpp
- Revision:
- 1:efbcfbae4747
- Parent:
- 0:02c293160df3
--- a/USBMSC.cpp Wed Nov 09 17:30:56 2011 +0000 +++ b/USBMSC.cpp Thu Nov 10 03:20:42 2011 +0000 @@ -114,28 +114,6 @@ return true; } - -uint8_t * USBMSC::stringIinterfaceDesc() { - static uint8_t stringIinterfaceDescriptor[] = { - 14, //bLength - STRING_DESCRIPTOR, //bDescriptorType 0x03 - 'C',0,'D',0,'C',0,'M',0,'S',0,'C',0 //bString iInterface - Audio - }; - DBG("stringIinterfaceDesc\r\n"); - return stringIinterfaceDescriptor; -} - -uint8_t * USBMSC::stringIproductDesc() { - static uint8_t stringIproductDescriptor[] = { - 24, //bLength - STRING_DESCRIPTOR, //bDescriptorType 0x03 - 'M',0,'b',0,'e',0,'d',0,' ',0,'D',0,'e',0,'v',0,'i',0,'c',0,'e',0 //bString iProduct - Mbed Audio - }; - DBG("stringIproductDesc\r\n"); - return stringIproductDescriptor; -} - - uint8_t * USBMSC::configurationDesc() { static uint8_t configDescriptor[] = { // configuration descriptor @@ -157,9 +135,8 @@ static uint8_t deviceDescriptor[] = { DEVICE_DESCRIPTOR_LENGTH, /* bLength */ DEVICE_DESCRIPTOR, /* bDescriptorType */ -// LSB(USB_VERSION_2_0), /* bcdUSB (LSB) */ -// MSB(USB_VERSION_2_0), /* bcdUSB (MSB) */ - 0x01, 0x01, + LSB(USB_VERSION_2_0), /* bcdUSB (LSB) */ + MSB(USB_VERSION_2_0), /* bcdUSB (MSB) */ 0x00, /* bDeviceClass */ 0x00, /* bDeviceSubClass */ 0x00, /* bDeviceprotocol */