Browse Source

Change USB manufacturer and product strings

The manufacturer should be PD Buddy, and the product should be Sink.
And so it is.
Clara Hobbs 7 years ago
parent
commit
a83bfaf425
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      src/usbcfg.c

+ 4
- 6
src/usbcfg.c View File

@@ -169,20 +169,18 @@ static const uint8_t vcom_string0[] = {
169 169
  * Vendor string.
170 170
  */
171 171
 static const uint8_t vcom_string1[] = {
172
-    USB_DESC_BYTE(34),                    /* bLength.                         */
172
+    USB_DESC_BYTE(18),                    /* bLength.                         */
173 173
     USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType.                 */
174
-    'C', 0, 'l', 0, 'a', 0, 'y', 0, 't', 0, 'o', 0, 'n', 0, ' ', 0,
175
-    'G', 0, '.', 0, ' ', 0, 'H', 0, 'o', 0, 'b', 0, 'b', 0, 's', 0,
174
+    'P', 0, 'D', 0, ' ', 0, 'B', 0, 'u', 0, 'd', 0, 'd', 0, 'y', 0,
176 175
 };
177 176
 
178 177
 /*
179 178
  * Device Description string.
180 179
  */
181 180
 static const uint8_t vcom_string2[] = {
182
-    USB_DESC_BYTE(28),                    /* bLength.                         */
181
+    USB_DESC_BYTE(10),                    /* bLength.                         */
183 182
     USB_DESC_BYTE(USB_DESCRIPTOR_STRING), /* bDescriptorType.                 */
184
-    'P', 0, 'D', 0, ' ', 0, 'B', 0, 'u', 0, 'd', 0, 'd', 0, 'y', 0,
185
-    ' ', 0, 'S', 0, 'i', 0, 'n', 0, 'k', 0
183
+    'S', 0, 'i', 0, 'n', 0, 'k', 0
186 184
 };
187 185
 
188 186
 /*

Loading…
Cancel
Save