From c7b364e99a3646959c8ebeb2cecfb80764f620d7 Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Tue, 17 Jun 2025 13:30:18 +0200 Subject: [PATCH] usb: update USBD_DESC_SERIAL_NUMBER_DEFINE macro description Update USBD_DESC_SERIAL_NUMBER_DEFINE macro description. Signed-off-by: Johann Fischer --- include/zephyr/usb/usbd.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/zephyr/usb/usbd.h b/include/zephyr/usb/usbd.h index 27b684101b1..029741f076d 100644 --- a/include/zephyr/usb/usbd.h +++ b/include/zephyr/usb/usbd.h @@ -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. */