git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
acc1fa0
)
EEPROM[02] is VID, so high_current must be defined somewhere else
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 8 Sep 2010 15:57:18 +0000 (17:57 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:37 +0000 (15:34 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
1fed5f9
..
6d0163f
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-2506,9
+2506,6
@@
int ftdi_eeprom_decode(struct ftdi_context *ftdi, unsigned char *buf, int size)
eeprom_size = 0x80;
eeprom = ftdi->eeprom;
- // Addr 00: High current IO
- eeprom->high_current = (buf[0x02] & HIGH_CURRENT_DRIVE);
-
// Addr 02: Vendor ID
eeprom->vendor_id = buf[0x02] + (buf[0x03] << 8);