libftdi Archives

Subject: Re: Outstanding patches for 1.2?

From: Clive Stubbings <clive.stubbings@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 7 Nov 2014 09:57:51 +0000 (GMT)
Hi Thomas,

Some time ago I posted this, but I don't think it ever got picked up.

---------- Forwarded message ----------
Date: Fri, 25 Apr 2014 16:32:03 +0100 (BST)
From: Clive Stubbings <clive.stubbings@xxxxxxxxxxxxx>
Reply-To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Subject: blank eeproms

Hi,

I'm having a bit of difficulty talking to blank eeproms. eeprom->size is not accessible from outside the library and there seems to be no way to get the library to set it for some devices.

The following patch will help. I think this behavior makes more sense since you are writing the raw eeprom content to the library.

@@ -3969,6 +3971,8 @@ int ftdi_set_eeprom_buf(struct ftdi_context *ftdi, const unsigned char * buf, in

     memcpy(ftdi->eeprom->buf, buf, size);

+       ftdi->eeprom->size = size;
+
     return 0;
 }




Thanks
Clive

On Thu, 6 Nov 2014, Thomas Jarosch wrote:

Hi,

any oustanding patches for libftdi 1.2?
Anything to rush in? Now is your chance!

Cheers,
Thomas

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




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