From 95e1150ddcbb6e0e4c4e2ff9f85a0e6d9d620407 Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Sun, 11 Jul 2010 05:27:01 -0400 Subject: [PATCH] Fix DFU functionalal descriptor version number, string descriptor for ram target --- usb_descriptor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usb_descriptor.c b/usb_descriptor.c index be6bc4c..e88efe8 100644 --- a/usb_descriptor.c +++ b/usb_descriptor.c @@ -132,8 +132,8 @@ u8 u8_usbConfigDescriptorDFU[36] = 0xFF, (wTransferSize & 0x00FF), (wTransferSize & 0xFF00) >> 8, /* TransferSize = 1024 Byte*/ - 0x1A, /* bcdDFUVersion*/ - 0x01 + 0x01, /* bcdDFUVersion*/ + 0x00 /***********************************************************/ /*36*/ }; @@ -175,7 +175,7 @@ u8 u8_usbStringSerial[0x10] = u8 u8_usbStringAlt0[0x36] = { - 0x10, + 0x36, 0x03, 'D',0,'F',0,'U',0,' ',0,'P',0,'r',0,'o',0,'g',0,'r',0, 'a',0,'m',0,' ',0,'R',0,'A',0,'M',0,' ',0,'0',0,'x',0,