fix missing user string desc in MSC and CustomHID

Signed-off-by: Jiri Novotny <jiri.novotny3@jablotron.cz>
This commit is contained in:
Jiri Novotny
2025-09-16 11:09:13 +02:00
committed by Ali LABBENE
parent 2a0a3521ac
commit d6e6bd2c66
2 changed files with 6 additions and 0 deletions

View File

@@ -128,6 +128,9 @@ USBD_ClassTypeDef USBD_CUSTOM_HID =
USBD_CUSTOM_HID_GetOtherSpeedCfgDesc, USBD_CUSTOM_HID_GetOtherSpeedCfgDesc,
USBD_CUSTOM_HID_GetDeviceQualifierDesc, USBD_CUSTOM_HID_GetDeviceQualifierDesc,
#endif /* USE_USBD_COMPOSITE */ #endif /* USE_USBD_COMPOSITE */
#if (USBD_SUPPORT_USER_STRING_DESC == 1U)
NULL,
#endif
}; };
#ifndef USE_USBD_COMPOSITE #ifndef USE_USBD_COMPOSITE

View File

@@ -125,6 +125,9 @@ USBD_ClassTypeDef USBD_MSC =
USBD_MSC_GetOtherSpeedCfgDesc, USBD_MSC_GetOtherSpeedCfgDesc,
USBD_MSC_GetDeviceQualifierDescriptor, USBD_MSC_GetDeviceQualifierDescriptor,
#endif /* USE_USBD_COMPOSITE */ #endif /* USE_USBD_COMPOSITE */
#if (USBD_SUPPORT_USER_STRING_DESC == 1U)
NULL,
#endif
}; };
/* USB Mass storage device Configuration Descriptor */ /* USB Mass storage device Configuration Descriptor */