X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fusbprog.c;h=06a9673f96df6ecee89ddf24ff306ef84dd0dd90;hb=e1c26950c03b09efe42b8a25dd83f1e50e22a507;hp=5d9c71b5a7ddf458e7b769c2f9f6860b31fc00d9;hpb=c18947b947064e7eceed8047c42d4c8dfd8ae964;p=openocd.git diff --git a/src/jtag/usbprog.c b/src/jtag/usbprog.c index 5d9c71b5a7..06a9673f96 100644 --- a/src/jtag/usbprog.c +++ b/src/jtag/usbprog.c @@ -61,7 +61,7 @@ static void usbprog_path_move(pathmove_command_t *cmd); static void usbprog_runtest(int num_cycles); static void usbprog_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, int scan_size); -jtag_interface_t usbprog_interface = +struct jtag_interface usbprog_interface = { .name = "usbprog", .execute_queue = usbprog_execute_queue, @@ -370,14 +370,14 @@ static void usbprog_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, int static void usbprog_write(int tck, int tms, int tdi) { - unsigned char output_value=0x00; + unsigned char output_value = 0x00; if (tms) - output_value |= (1<