Alter USB descriptors and windows INF driver to have the same manufacturer- perhaps...
authorMichael Moon <triffid.hunter@gmail.com>
Sun, 3 Feb 2013 02:53:33 +0000 (13:53 +1100)
committerMichael Moon <triffid.hunter@gmail.com>
Sun, 3 Feb 2013 02:53:33 +0000 (13:53 +1100)
SmoothieSerial.inf
src/libs/USBDevice/USB.cpp

index b1285b3..7ce0b06 100644 (file)
@@ -59,5 +59,5 @@ HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
 ;Modify these strings to customize your device
 ;------------------------------------------------------------------------------
 [Strings]
-MFGNAME="http://www.smoothie.org"
+MFGNAME="Trinity Labs"
 DESCRIPTION="Smoothie Virtual Serial Port"
index 141e5e8..9ff28a0 100644 (file)
@@ -32,11 +32,7 @@ static usbdesc_language lang = {
        { SL_USENGLISH, },
 };
 
-static usbdesc_string_l(10) manufacturer = {
-       22,                                     // .bLength: 2 + 2 * nchars
-       DT_STRING,                      // .bDescType
-       { 'U', 'S', 'B', ' ', 'M', 'a', 'g', 'i', 'c', '!' }
-};
+static usbstring_const_init(manufacturer, "Trinity Labs");
 
 static usbstring_const_init(product, "Smoothie v0.1 prototype");