From f97b6b59abc878745bb54e8f44ec82897bacaf7d Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 1 Jul 2010 19:43:58 +0100 Subject: [PATCH] ft2232: bugfix from previous commit fix build error with commit dd88b461da1cb8642200dd5c96fb1ff384ca9f7b Signed-off-by: Spencer Oliver --- src/jtag/drivers/ft2232.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 9d40b1c0..90516a09 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -4022,7 +4022,7 @@ static int signalyzer_h_init(void) buf[1] = high_output; buf[2] = high_direction; - if ((retval = ft2232_write(buf, sizeof(buf), &bytes_written)) != ERROR_OK) + if (ft2232_write(buf, sizeof(buf), &bytes_written) != ERROR_OK) { LOG_ERROR("couldn't initialize Signalyzer-H layout"); return ERROR_JTAG_INIT_FAILED; -- 2.39.5