mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 21:41:09 +00:00
Merge pull request #1147 from kasjer/kasjer/msc-examples-serial-number
msc examples: Extend serial number to 12 digits
This commit is contained in:
commit
e927359d9c
@ -232,7 +232,7 @@ char const* string_desc_arr [] =
|
|||||||
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
||||||
"TinyUSB", // 1: Manufacturer
|
"TinyUSB", // 1: Manufacturer
|
||||||
"TinyUSB Device", // 2: Product
|
"TinyUSB Device", // 2: Product
|
||||||
"123456", // 3: Serials, should use chip ID
|
"123456789012", // 3: Serials, should use chip ID
|
||||||
"TinyUSB CDC", // 4: CDC Interface
|
"TinyUSB CDC", // 4: CDC Interface
|
||||||
"TinyUSB MSC", // 5: MSC Interface
|
"TinyUSB MSC", // 5: MSC Interface
|
||||||
};
|
};
|
||||||
|
@ -218,7 +218,7 @@ char const* string_desc_arr [] =
|
|||||||
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
||||||
"TinyUSB", // 1: Manufacturer
|
"TinyUSB", // 1: Manufacturer
|
||||||
"TinyUSB Device", // 2: Product
|
"TinyUSB Device", // 2: Product
|
||||||
"123456", // 3: Serials, should use chip ID
|
"123456789012", // 3: Serials, should use chip ID
|
||||||
"TinyUSB CDC", // 4: CDC Interface
|
"TinyUSB CDC", // 4: CDC Interface
|
||||||
"TinyUSB MSC", // 5: MSC Interface
|
"TinyUSB MSC", // 5: MSC Interface
|
||||||
};
|
};
|
||||||
|
@ -141,7 +141,7 @@ char const* string_desc_arr [] =
|
|||||||
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
|
||||||
"TinyUSB", // 1: Manufacturer
|
"TinyUSB", // 1: Manufacturer
|
||||||
"TinyUSB Device", // 2: Product
|
"TinyUSB Device", // 2: Product
|
||||||
"123456", // 3: Serials, should use chip ID
|
"123456789012", // 3: Serials, should use chip ID
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint16_t _desc_str[32];
|
static uint16_t _desc_str[32];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user