libftdi Archives

Subject: Re: Patch for ftdi_eeprom_decode()

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: Tamas Vincze <tom@xxxxxxxxxx>
Date: Mon, 6 Dec 2010 17:38:31 +0100
>>>>> "Tamas" == Tamas Vincze <tom@xxxxxxxxxx> writes:

    Tamas> Hi, The attached patch initializes eeprom->size and fixes the
    Tamas> address of the high_current flag. It's against the Nov 29, 2010
    Tamas> git tree.

What tree is the patch agains? 

Aren't these two unrelated changes?

eeprom->size should initalizes to zero via memset(eeprom,...) and the value
eeprom of zero should later trigger setting the right size after the size
has been determined with the erase procedure.

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread