Skip to content

Commit e927359

Browse files
authored
Merge pull request #1147 from kasjer/kasjer/msc-examples-serial-number
msc examples: Extend serial number to 12 digits
2 parents 4cecd4e + 9a68822 commit e927359

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/device/cdc_msc/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ char const* string_desc_arr [] =
232232
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
233233
"TinyUSB", // 1: Manufacturer
234234
"TinyUSB Device", // 2: Product
235-
"123456", // 3: Serials, should use chip ID
235+
"123456789012", // 3: Serials, should use chip ID
236236
"TinyUSB CDC", // 4: CDC Interface
237237
"TinyUSB MSC", // 5: MSC Interface
238238
};

examples/device/cdc_msc_freertos/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ char const* string_desc_arr [] =
218218
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
219219
"TinyUSB", // 1: Manufacturer
220220
"TinyUSB Device", // 2: Product
221-
"123456", // 3: Serials, should use chip ID
221+
"123456789012", // 3: Serials, should use chip ID
222222
"TinyUSB CDC", // 4: CDC Interface
223223
"TinyUSB MSC", // 5: MSC Interface
224224
};

examples/device/msc_dual_lun/src/usb_descriptors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ char const* string_desc_arr [] =
141141
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
142142
"TinyUSB", // 1: Manufacturer
143143
"TinyUSB Device", // 2: Product
144-
"123456", // 3: Serials, should use chip ID
144+
"123456789012", // 3: Serials, should use chip ID
145145
};
146146

147147
static uint16_t _desc_str[32];

0 commit comments

Comments
 (0)