On Tuesday 27 October 2009, Signalyzer ( www.signalyzer.com ) wrote:
> Please find attached a subset of the Signalyzer H support that will
> compile with released version of libftdi and not require proposed
> libftdi mods.

I committed a version with some cleanups ... please sanity check.
(Along with their config files.)

Also, you could shrink the code a whole bunch by having your
ctrl_write() return a negative number even when using the D2XX
library, so that there's only one return code convention.  That
way you would not need so many #ifdefs, and you could be sure
more of the code was *identical* in both cases ...

It's also good to avoid assignments inside "if" conditions...

- Dave
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to