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

@@ -234,15 +234,14 @@ ROM uint8_t CFG01[CONFIG_DESC_TOTAL_LEN]={
ROM struct{uint8_t bLength;uint8_t bDscType;uint16_t string[1];}sd000={
sizeof(sd000),DSC_STR,0x0409};
ROM struct{uint8_t bLength;uint8_t bDscType;uint16_t string[25];}sd001={
ROM struct{uint8_t bLength;uint8_t bDscType;uint16_t string[6];}sd001={
sizeof(sd001),DSC_STR,
'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'};
ROM struct{uint8_t bLength;uint8_t bDscType;uint16_t string[18];}sd002={
ROM struct{uint8_t bLength;uint8_t bDscType;uint16_t string[29];}sd002={
sizeof(sd002),DSC_STR,
'H','I','D',' ','U','S','B',' ','B','o','o',
't','l','o','a','d','e','r'};
'B','I','A',' ','M','i','c','r','o','D','D','R',' ',
'(','F','W',' ','u','p','d','a','t','e',' ','m','o','d','e',')'};
ROM uint8_t hid_rpt01[HID_RPT01_SIZE]=
// First byte in each row is the "item". First byte's two least significant