From 5075bf5d435c0e4af8de193de2921f434fdb0e6e Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Thu, 19 Jun 2014 23:08:27 +0200 Subject: device and vendor name --- usbdrv/usbconfig.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/usbdrv/usbconfig.h b/usbdrv/usbconfig.h index 3689f35..7b0deb2 100644 --- a/usbdrv/usbconfig.h +++ b/usbdrv/usbconfig.h @@ -242,9 +242,8 @@ extern void hadUsbReset(void); // define the function for usbdrv.c #define USB_CFG_DEVICE_VERSION 0x00, 0x01 /* Version number of the device: Minor number first, then major number. */ -#define USB_CFG_VENDOR_NAME 'c', 'o', 'd', 'e', 'a', 'n', 'd', 'l', \ - 'i', 'f', 'e', '.', 'c', 'o', 'm' -#define USB_CFG_VENDOR_NAME_LEN 15 +#define USB_CFG_VENDOR_NAME 'w','i','n','d','f','i','s','c','h','.','o','r','g' +#define USB_CFG_VENDOR_NAME_LEN 13 /* These two values define the vendor name returned by the USB device. The name * must be given as a list of characters under single quotes. The characters * are interpreted as Unicode (UTF-16) entities. @@ -253,8 +252,8 @@ extern void hadUsbReset(void); // define the function for usbdrv.c * obdev's free shared VID/PID pair. See the file USB-IDs-for-free.txt for * details. */ -#define USB_CFG_DEVICE_NAME 'P', 'a', 's', 's', 'g', 'e', 'n' -#define USB_CFG_DEVICE_NAME_LEN 7 +#define USB_CFG_DEVICE_NAME 'R', 'o', 't', 'a', 'r', 'y', ' ', 'D', 'i', 'a', 'l' +#define USB_CFG_DEVICE_NAME_LEN 11 /* Same as above for the device name. If you don't want a device name, undefine * the macros. See the file USB-IDs-for-free.txt before you assign a name if * you use a shared VID/PID. -- cgit v1.2.1