From e4e1208a924f5c5d73566e69ac8097f0f5860d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Mon, 3 Mar 2008 19:31:33 +0000 Subject: [PATCH] fix FT_SetChar() parameters git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1112 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 3 ++- jtag/src/tap/parport/ftd2xx.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 214015a5..50ea0e15 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,5 +1,6 @@ -2008-03-03 Arnim +2008-03-03 Arnim Laeuger + * src/tap/parport/ftd2xx.c (ftd2xx_mpsse_open): fix FT_SetChar() parameters * doc/UrJTAG.txt: fix some typos 2008-03-01 Arnim diff --git a/jtag/src/tap/parport/ftd2xx.c b/jtag/src/tap/parport/ftd2xx.c index f14478f5..db531591 100644 --- a/jtag/src/tap/parport/ftd2xx.c +++ b/jtag/src/tap/parport/ftd2xx.c @@ -294,7 +294,7 @@ ftd2xx_mpsse_open( parport_t *parport ) FT_Close(fc); return -1; } - if ((status = FT_SetChars(fc, 7, 1, 6, 1)) != FT_OK) { + if ((status = FT_SetChars(fc, 0, 0, 0, 0)) != FT_OK) { fprintf(stderr, "Can't set special characters: %li\n", status); FT_Close(fc); return -1;