fix u8 to u16 conversation
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 13 Aug 2013 10:12:15 +0000 (12:12 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Tue, 13 Aug 2013 10:12:15 +0000 (12:12 +0200)
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
target_firmware/magpie_fw_dev/target/rompatch/usb_api_patch.c

index d9a394dedbefb0d670f6ba95482690e5cb8de6fc..298c41d511c5da54d32eacac4075100ef0f7bdcd 100755 (executable)
@@ -749,9 +749,9 @@ extern BOOLEAN bGet_descriptor(void);
 
 uint16_t ConfigDescriptorPatch[30];
 
- uint16_t UsbDeviceDescriptorPatch[18];
- #define VENDOR_ID_OFFSET           8
- #define PRODUCT_ID_OFFSET          10
+uint16_t UsbDeviceDescriptorPatch[9];
+#define VENDOR_ID_OFFSET               4
+#define PRODUCT_ID_OFFSET              5
 
 #define EP3_TRANSFER_TYPE_OFFSET    17
 #define EP3_INT_INTERVAL            19