From: Uwe Bonnes Date: Wed, 8 Sep 2010 14:11:19 +0000 (+0200) Subject: Don't erase the EEPROM size X-Git-Tag: v1.0rc1~133^2~122 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=8080d2ceab3809d25d5bc6799dce499e068308d8 Don't erase the EEPROM size --- diff --git a/src/ftdi.c b/src/ftdi.c index bb8ec4b..b26b655 100644 --- 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; - // empty eeprom struct - memset(eeprom, 0, sizeof(struct ftdi_eeprom)); - // Addr 00: High current IO eeprom->high_current = (buf[0x02] & HIGH_CURRENT_DRIVE);