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>
This commit is contained in:
Johann Fischer 2025-06-17 13:30:18 +02:00 committed by Benjamin Cabé
commit c7b364e99a

View file

@ -629,8 +629,11 @@ static inline void *usbd_class_get_private(const struct usbd_class_data *const c
*
* This macro defines a descriptor node that, when added to the device context,
* is automatically used as the serial number string descriptor. A valid serial
* number is generated from HWID (HWINFO= whenever this string descriptor is
* requested.
* number is obtained from @ref hwinfo_interface whenever this string
* descriptor is requested.
*
* @note The HWINFO driver must be available and the Kconfig option HWINFO
* enabled.
*
* @param d_name String descriptor node identifier.
*/