On Thu, 11 Jun 2009 15:00:05 -0400 pgf at foxharp.boston.ma.us (Paul Fox) wrote:
- // f = ftdi_usb_open(ftdic, 0x0403, 0x6010); // FT2232
- f = ftdi_usb_open(ftdic, 0x0403, 0x6011); // FT4232
- if (f < 0 && f != -5) {
fprintf(stderr, "unable to open ftdi device: %d (%s)\n", f,
ftdi_get_error_string(ftdic));
exit(-1);
- }
Hi,
been a while since this went in... however the exemption for the -5 error (failed to claim the device) was never discussed nor documented ever since. Can you remember why you put it there, Paul?