dfu: proper product name for dfu runtime descriptor

dfu-util -l says
Found Runtime: [1d50:60e3] ver=0002, devnum=72, cfg=1, intf=1,
path="1-2", alt=0, name="UNKNOWN", serial="12345"
Found Runtime: [1d50:6141] ver=0000, devnum=71, cfg=1, intf=3,
path="1-3", alt=0, name="DFU (Runtime)", serial="6789"

One is a simtrace2, one is the octsim - let's make flashing less
exciting by at least telling the user which one is the octsim...

Change-Id: Ifa37c63c97824ce42b3476f53626323cb40b879e
This commit is contained in:
Eric Wild 2020-01-29 13:38:25 +01:00 committed by Hoernchen
parent 1571e7500f
commit 240d00936a
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ const struct usb_desc_collection usb_fs_descs = {
22, 3, 'd',0, 'e',0, 'b',0, 'u',0, 'g',0, ' ',0, 'U',0, 'A',0, 'R',0, 'T',0,
10, 3, 'C',0, 'C',0, 'I',0, 'D',0,
12, 3, 'F',0, 'I',0, 'X',0, 'M',0, 'E',0,
28, 3, 'D',0, 'F',0, 'U',0, ' ',0, '(',0, 'R',0, 'u',0, 'n',0, 't',0, 'i',0, 'm',0, 'e',0 ,')',0,
52, 3, 's',0, 'y',0, 's',0, 'm',0, 'o',0, 'O',0, 'C',0, 'T',0, 'S',0, 'I',0, 'M',0, ' ',0, 'D',0, 'F',0, 'U',0, ' ',0, '(',0, 'R',0, 'u',0, 'n',0, 't',0, 'i',0, 'm',0, 'e',0 ,')',0,
#endif
}
};

View File

@ -66,7 +66,7 @@ struct usb_desc_collection {
struct usb_ep_desc ep[3];
} ccid;
DFURT_IF_DESCRIPTOR_STRUCT
uint8_t str[176];
uint8_t str[200];
} __attribute__((packed));
#endif /* USB_DESCRIPTORS_H_ */