X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fft2232.c;h=27ad2ed22a00a10259f8363f341acc1bd90d5e46;hb=231a71b7fba9277aaa7772a78788ebded3253b47;hp=70050babe8e9eac3bb3936cdebe9d0ec1804f77a;hpb=265b0a9fca4121c1acee8246e88328dd8bd583fd;p=openocd.git diff --git a/src/jtag/ft2232.c b/src/jtag/ft2232.c index 70050babe8..27ad2ed22a 100644 --- a/src/jtag/ft2232.c +++ b/src/jtag/ft2232.c @@ -573,7 +573,7 @@ static void ft2232_add_pathmove(pathmove_command_t* cmd) } -void ft2232_add_scan(int ir_scan, enum scan_type type, u8* buffer, int scan_size) +void ft2232_add_scan(bool ir_scan, enum scan_type type, u8* buffer, int scan_size) { int num_bytes = (scan_size + 7) / 8; int bits_left = scan_size;