commit | c34ad3114c0068d06d3755404b2509f08d60583a | [log] [tgz] |
---|---|---|
author | Johann Fischer <johann.fischer@nordicsemi.no> | Mon May 15 18:15:36 2023 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri May 26 09:48:19 2023 -0400 |
tree | f1b8bd24a6634bed4df8c35bb837855a3e74bba2 | |
parent | 291b5a7ec319ddff18c329f02a568452395cbae0 [diff] |
usb: device_next: allow reuse of string descriptor nodes If we try to reuse a string descriptor node, the content will be corrupted because the device stack assumes it is still ASCII7 encoded. Add a flag to indicate that a descriptor node contains UTF16LE encoded content. And while we are at it, add a flag to indicate that the SN string should not be obtained from the hwinfo API. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>