Skip to content

Commit

Permalink
Merge pull request #1147 from kasjer/kasjer/msc-examples-serial-number
Browse files Browse the repository at this point in the history
msc examples: Extend serial number to 12 digits
  • Loading branch information
hathach committed Oct 17, 2021
2 parents 4cecd4e + 9a68822 commit e927359
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/device/cdc_msc/src/usb_descriptors.c
Expand Up @@ -232,7 +232,7 @@ char const* string_desc_arr [] =
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
"TinyUSB", // 1: Manufacturer
"TinyUSB Device", // 2: Product
"123456", // 3: Serials, should use chip ID
"123456789012", // 3: Serials, should use chip ID
"TinyUSB CDC", // 4: CDC Interface
"TinyUSB MSC", // 5: MSC Interface
};
Expand Down
2 changes: 1 addition & 1 deletion examples/device/cdc_msc_freertos/src/usb_descriptors.c
Expand Up @@ -218,7 +218,7 @@ char const* string_desc_arr [] =
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
"TinyUSB", // 1: Manufacturer
"TinyUSB Device", // 2: Product
"123456", // 3: Serials, should use chip ID
"123456789012", // 3: Serials, should use chip ID
"TinyUSB CDC", // 4: CDC Interface
"TinyUSB MSC", // 5: MSC Interface
};
Expand Down
2 changes: 1 addition & 1 deletion examples/device/msc_dual_lun/src/usb_descriptors.c
Expand Up @@ -141,7 +141,7 @@ char const* string_desc_arr [] =
(const char[]) { 0x09, 0x04 }, // 0: is supported language is English (0x0409)
"TinyUSB", // 1: Manufacturer
"TinyUSB Device", // 2: Product
"123456", // 3: Serials, should use chip ID
"123456789012", // 3: Serials, should use chip ID
};

static uint16_t _desc_str[32];
Expand Down

0 comments on commit e927359

Please sign in to comment.