Skip to content

Commit c7b364e

Browse files
jfischer-nokartben
authored andcommitted
usb: update USBD_DESC_SERIAL_NUMBER_DEFINE macro description
Update USBD_DESC_SERIAL_NUMBER_DEFINE macro description. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
1 parent 76579d2 commit c7b364e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

include/zephyr/usb/usbd.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,11 @@ static inline void *usbd_class_get_private(const struct usbd_class_data *const c
629629
*
630630
* This macro defines a descriptor node that, when added to the device context,
631631
* is automatically used as the serial number string descriptor. A valid serial
632-
* number is generated from HWID (HWINFO= whenever this string descriptor is
633-
* requested.
632+
* number is obtained from @ref hwinfo_interface whenever this string
633+
* descriptor is requested.
634+
*
635+
* @note The HWINFO driver must be available and the Kconfig option HWINFO
636+
* enabled.
634637
*
635638
* @param d_name String descriptor node identifier.
636639
*/

0 commit comments

Comments
 (0)