git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5a1dcd5
)
libftdi: (tomj) fix strange characters in the comment lines
author
Thomas Jarosch
<opensource@intra2net.com>
Tue, 25 Mar 2008 09:20:09 +0000 (09:20 +0000)
committer
Thomas Jarosch
<opensource@intra2net.com>
Tue, 25 Mar 2008 09:20:09 +0000 (09:20 +0000)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
b5cb4f3
..
f5d09a9
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-1532,10
+1532,10
@@
int ftdi_eeprom_build(struct ftdi_eeprom *eeprom, unsigned char *output)
output[0x07] = 0x02;
// Addr 08: Config descriptor
- // 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 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
j = 0x80;
if (eeprom->self_powered == 1)
j |= 0x40;