change product desc to 9 and add extra null byte

This commit is contained in:
Proxcloud 2018-02-08 20:40:57 +08:00
parent 13c25f892e
commit d03a573eee

View file

@ -183,11 +183,12 @@ static const char StrDescManufacturer[] = {
}; };
static const char StrDescProduct[] = { static const char StrDescProduct[] = {
4, // Length 9, // Length
0x03, // Type is string 0x03, // Type is string
'P', 0x00, 'P', 0x00,
'M', 0x00, 'M', 0x00,
'3', 0x00 '3', 0x00,
0x00
}; };
const char* getStringDescriptor(uint8_t idx) const char* getStringDescriptor(uint8_t idx)