libftdi Archives

Subject: Re: Typo in /examples

From: Samori Gorse <samorigorse@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 14 Jan 2012 18:34:00 +0100

Do you mean this work in the current stable version?

On Jan 14, 2012 1:33 PM, "Uwe Bonnes" <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>>>> "Xiaofan" == Xiaofan Chen <xiaofanc@xxxxxxxxx> writes:

   Xiaofan> On Fri, Jan 13, 2012 at 8:34 PM, Samori Gorse
   Xiaofan> <samorigorse@xxxxxxxxx> wrote:
   >> Hi there,
   >>
   >> Just a quick hint about a typo I stumbled across which held me back
   >> for a few hours.  The typo is in:
   >>
   >> examples/find_all_pp.cpp:28
   >>
   >> int vid = 0x0403, pid = 0x6010, tmp = 0;
   >>
   >> should read
   >>
   >> int vid = 0x0403, pid = 0x6001, tmp = 0;
   >>
   >> Hope this helps

   Xiaofan> Nice find. Thanks.

   Xiaofan> I also felt surprised last time I tried the examples when I
   Xiaofan> found out that find_all can find the FTDI device but
   Xiaofan> find_all_pp can not find the device.



Libftdi with vid=0 and pid= 0 now searches for all default devices
   (0x403:0x6001, 0x403:0x6010, 0x403:0x6011, 0x403:0x6014)

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



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


Current Thread