mirror of
https://github.com/STMicroelectronics/stm32-mw-usb-device.git
synced 2026-02-08 12:08:06 -05:00
fix missing user string desc in MSC and CustomHID
Signed-off-by: Jiri Novotny <jiri.novotny3@jablotron.cz>
This commit is contained in:
committed by
Ali LABBENE
parent
2a0a3521ac
commit
d6e6bd2c66
@@ -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
|
||||||
|
|||||||
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user