mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2477 from openmv/boot_desc_fix
bootloader: Fix string descriptor index.
This commit is contained in:
commit
7d872ff6b9
@ -121,7 +121,7 @@ uint16_t const *tud_descriptor_string_cb(uint8_t index, uint16_t langid) {
|
|||||||
// Language ID
|
// Language ID
|
||||||
memcpy(desc_wstr, desc_string[0], 4);
|
memcpy(desc_wstr, desc_string[0], 4);
|
||||||
return desc_wstr;
|
return desc_wstr;
|
||||||
case 1: {
|
case 3: {
|
||||||
// Serial number
|
// Serial number
|
||||||
if (port_get_uid(uid) != 0) {
|
if (port_get_uid(uid) != 0) {
|
||||||
// No UID support.
|
// No UID support.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user