changed USB string identifiers to match the real device

This commit is contained in:
2019-08-22 04:09:06 -04:00
parent 576e9618bd
commit afea8914d0
3 changed files with 25 additions and 12 deletions

View File

@@ -213,16 +213,14 @@ sizeof(sd000),USB_DESCRIPTOR_STRING,{0x0409
}};
//Manufacturer string descriptor
const struct{uint8_t bLength;uint8_t bDscType;uint16_t string[25];}sd001={
const struct{uint8_t bLength;uint8_t bDscType;uint16_t string[6];}sd001={
sizeof(sd001),USB_DESCRIPTOR_STRING,
{'M','i','c','r','o','c','h','i','p',' ',
'T','e','c','h','n','o','l','o','g','y',' ','I','n','c','.'
}};
{'H','o','n','m','a','n'}};
//Product string descriptor
const struct{uint8_t bLength;uint8_t bDscType;uint16_t string[13];}sd002={
const struct{uint8_t bLength;uint8_t bDscType;uint16_t string[12];}sd002={
sizeof(sd002),USB_DESCRIPTOR_STRING,
{'J','o','y','s','t','i','c','k',' ','D','e','m','o'
{'B','I','A',' ','M','i','c','r','o','D','D','R'
}};
//Array of configuration descriptors