libftdi-git Archives

Subject: port libftdi to libusb-1.0 branch, eeprom-new, updated. v0.17-130-g37186e3

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 24 Sep 2010 11:56:00 +0200 (CEST)
The branch, eeprom-new has been updated
       via  37186e3415303371bbdd4f8aaa29dea8c889fedb (commit)
      from  4e74064bcb5b67b3b51c077adae689be43df0cec (commit)


- Log -----------------------------------------------------------------
commit 37186e3415303371bbdd4f8aaa29dea8c889fedb
Author: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
Date:   Fri Sep 24 11:55:57 2010 +0200

    Fix wrong comment about standarized USB config descriptor attributes

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 8f9d0c9..ac0b9d1 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -2375,7 +2375,7 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
     // Bit 7: always 1
     // Bit 6: 1 if this device is self powered, 0 if bus powered
     // Bit 5: 1 if this device uses remote wakeup
-    // Bit 4: 1 if this device is battery powered
+    // Bit 4-0: reserved - 0
     j = 0x80;
     if (eeprom->self_powered == 1)
         j |= 0x40;
@@ -2450,7 +2450,7 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
         output[i & k] = 0x00, i++;
     }
     output[0x11] = product_size*2 + 2;
-    
+
     // Addr 12: Offset of the serial string + 0x80, calculated later
     // Addr 13: Length of serial string
     output[0x12] = i | 0x80; // calculate offset


hooks/post-receive
-- 
port libftdi to libusb-1.0

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • port libftdi to libusb-1.0 branch, eeprom-new, updated. v0.17-130-g37186e3, libftdi-git <=