File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
variants/DISCO_L475VG_IOT/usb Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4949#include "usbd_core.h"
5050#include "usbd_desc.h"
5151#include "usbd_conf.h"
52+ #include "utils.h"
5253
5354/* Private typedef -----------------------------------------------------------*/
5455/* Private define ------------------------------------------------------------*/
6667#define USBD_MANUFACTURER_STRING "Unknown"
6768#endif /* USBD_VID */
6869#ifdef USBD_USE_HID_COMPOSITE
69- #define USBD_HID_PRODUCT_FS_STRING "HID in FS Mode"
70- #define USBD_HID_CONFIGURATION_FS_STRING "HID Config"
71- #define USBD_HID_INTERFACE_FS_STRING "HID Interface"
70+ #define USBD_HID_PRODUCT_FS_STRING CONCATS(USB_PRODUCT, "HID in FS Mode")
71+ #define USBD_HID_CONFIGURATION_FS_STRING CONCATS(USB_PRODUCT, "HID Config")
72+ #define USBD_HID_INTERFACE_FS_STRING CONCATS(USB_PRODUCT, "HID Interface")
7273
7374/* Private macro -------------------------------------------------------------*/
7475/* Private function prototypes -----------------------------------------------*/ ;
You can’t perform that action at this time.
0 commit comments