ft2232: bugfix from previous commit

fix build error with commit dd88b461da

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
Spencer Oliver 2010-07-01 19:43:58 +01:00
parent dd88b461da
commit f97b6b59ab
1 changed files with 1 additions and 1 deletions

View File

@ -4022,7 +4022,7 @@ static int signalyzer_h_init(void)
buf[1] = high_output; buf[1] = high_output;
buf[2] = high_direction; 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"); LOG_ERROR("couldn't initialize Signalyzer-H layout");
return ERROR_JTAG_INIT_FAILED; return ERROR_JTAG_INIT_FAILED;