On Thu, 14 Apr 2011 11:28:13 +0200, Øyvind Harboe wrote:
Why don't you post a patch for fixing ft2232 init() fn so it cleans
up after itself in the case of failure and post it as a patch?

I work to do that.

But the summary of my current work is:
x = ftd2xx or libftdi


ft2232_init()
   ft2232_open_x()
   ft2232_init_x()
   if error occured
      ft2232_close_x()

ft2232_quit()
   ft2232_deinit_x()
   ft2232_close_x()


I divide functions and create new to have a more clearly code.


--
Regards,
Sébastien Farquet
  http://www.amontec.com/
  Amontec JTAGkey-2 : High speed USB JTAG interface
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to