Home
last modified time | relevance | path

Searched refs:runtime_sn_len (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/usb/device/
Dusb_descriptor.c360 int runtime_sn_len, default_sn_len; in usb_fix_ascii_sn_string_descriptor() local
366 runtime_sn_len = strlen(runtime_sn); in usb_fix_ascii_sn_string_descriptor()
367 if (!runtime_sn_len) { in usb_fix_ascii_sn_string_descriptor()
373 if (runtime_sn_len != default_sn_len) { in usb_fix_ascii_sn_string_descriptor()
378 memcpy(sn->bString, runtime_sn, MIN(runtime_sn_len, default_sn_len)); in usb_fix_ascii_sn_string_descriptor()