libftdi Archives

Subject: Re: libftdi_write_data: argument #2 should be const

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 04 Sep 2013 15:04:10 +0200
Hi Uwe,

On Tuesday, 3. September 2013 11:03:50 bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
wrote:
> Joerg Wunsch <j@xxxxxxxxxxxxxxxxx> noted that in libftdi_write_data() the
> buffer that is sent is only accessed reeading and so should be const.
> Please consider appended patch ( if I got "const unsigned char *" versus
> "unsigned char const *" right).

good idea, commited!
(after consulting the libusb_bulk_transfer() man page)

> PS: Much fun for your holidays!

thanks, really looking forward to it :)

Thomas


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

Current Thread