usb: fix partition name and count

This commit is contained in:
King Kévin 2022-07-23 13:19:21 +02:00
parent ac24edfadd
commit a09f8cd851
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ uint8_t const * tud_descriptor_device_cb(void)
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// Number of Alternate Interface (each for 1 flash partition) // Number of Alternate Interface (each for 1 flash partition)
#define ALT_COUNT 2 #define ALT_COUNT 1
enum enum
{ {
@ -123,7 +123,7 @@ char const* string_desc_arr [] =
"TinyUSB", // 1: Manufacturer "TinyUSB", // 1: Manufacturer
"TinyUSB Device", // 2: Product "TinyUSB Device", // 2: Product
"123456", // 3: Serials, should use chip ID "123456", // 3: Serials, should use chip ID
"factory", // 4: DFU Partition 1 "ota0", // 4: DFU Partition 1
}; };
static uint16_t _desc_str[32]; static uint16_t _desc_str[32];