Skip to content

Commit

Permalink
Update USB descriptor file to add product name in the string
Browse files Browse the repository at this point in the history
Signed-off-by: fpr <fabien.perroquin@wi6labs.com>
  • Loading branch information
fpr committed Sep 7, 2017
1 parent e09e57c commit d24a022
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions variants/DISCO_L475VG_IOT/usb/usbd_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
#include "usbd_core.h"
#include "usbd_desc.h"
#include "usbd_conf.h"
#include "utils.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
Expand All @@ -66,9 +67,9 @@
#define USBD_MANUFACTURER_STRING "Unknown"
#endif /* USBD_VID */
#ifdef USBD_USE_HID_COMPOSITE
#define USBD_HID_PRODUCT_FS_STRING "HID in FS Mode"
#define USBD_HID_CONFIGURATION_FS_STRING "HID Config"
#define USBD_HID_INTERFACE_FS_STRING "HID Interface"
#define USBD_HID_PRODUCT_FS_STRING CONCATS(USB_PRODUCT, "HID in FS Mode")
#define USBD_HID_CONFIGURATION_FS_STRING CONCATS(USB_PRODUCT, "HID Config")
#define USBD_HID_INTERFACE_FS_STRING CONCATS(USB_PRODUCT, "HID Interface")

/* Private macro -------------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/;
Expand Down

0 comments on commit d24a022

Please sign in to comment.