usb: fix partition name and count
This commit is contained in:
parent
ac24edfadd
commit
a09f8cd851
|
@ -82,7 +82,7 @@ uint8_t const * tud_descriptor_device_cb(void)
|
|||
//--------------------------------------------------------------------+
|
||||
|
||||
// Number of Alternate Interface (each for 1 flash partition)
|
||||
#define ALT_COUNT 2
|
||||
#define ALT_COUNT 1
|
||||
|
||||
enum
|
||||
{
|
||||
|
@ -123,7 +123,7 @@ char const* string_desc_arr [] =
|
|||
"TinyUSB", // 1: Manufacturer
|
||||
"TinyUSB Device", // 2: Product
|
||||
"123456", // 3: Serials, should use chip ID
|
||||
"factory", // 4: DFU Partition 1
|
||||
"ota0", // 4: DFU Partition 1
|
||||
};
|
||||
|
||||
static uint16_t _desc_str[32];
|
||||
|
|
Loading…
Reference in New Issue