mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user