libftdi Archives

Subject: Re: ftdi_poll_modem_status() results in upper byte of status being to to 0xFF

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 6 May 2011 15:18:26 +0200
Hello Tom,

On Tuesday, 3. May 2011 13:25:08 Tom Saunders wrote:
> *status = (usb_val[1] << 8) | (usb_val[0] & 0xFF);

I've created a patch from that and applied
it to the libftdi git tree. Thanks!

Thomas

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

Current Thread