git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
979a145
)
libftdi: (tomj) added EEPROM building fix from Daniel Kirkham (Melbourne, Australia)
author
Thomas Jarosch
<opensource@intra2net.com>
Sat, 3 Jan 2004 14:53:49 +0000 (14:53 +0000)
committer
Thomas Jarosch
<opensource@intra2net.com>
Sat, 3 Jan 2004 14:53:49 +0000 (14:53 +0000)
ftdi/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/ftdi/ftdi.c
b/ftdi/ftdi.c
index
2ccc2b7
..
fb2adbf
100644
(file)
--- a/
ftdi/ftdi.c
+++ b/
ftdi/ftdi.c
@@
-443,7
+443,7
@@
int ftdi_eeprom_build(struct ftdi_eeprom *eeprom, unsigned char *output) {
output[0x13] = serial_size*2 + 2;
// Dynamic content
- output[0x14] = manufacturer_size;
+ output[0x14] = manufacturer_size*2 + 2;
output[0x15] = 0x03; // type: string
i = 0x16, j = 0;
@@
-529,4
+529,3
@@
int ftdi_erase_eeprom(struct ftdi_context *ftdi) {
return 0;
}
-