From a862ddcfeecc833d8bfca4c1c401a327c4587c94 Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Sat, 3 Jan 2004 14:53:49 +0000 Subject: [PATCH] libftdi: (tomj) added EEPROM building fix from Daniel Kirkham (Melbourne, Australia) --- ftdi/ftdi.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/ftdi/ftdi.c b/ftdi/ftdi.c index 2ccc2b7..fb2adbf 100644 --- 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; } - -- 1.7.1