projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jtag: jtag_add_ir_scan() now takes a single field
[fw/openocd]
/
src
/
pld
/
virtex2.c
diff --git
a/src/pld/virtex2.c
b/src/pld/virtex2.c
index 15685e61b675c1e7fd17b4bf489388e72dbfef2b..976535b4cd14c2f647350faf666b5fb18b0e66e3 100644
(file)
--- a/
src/pld/virtex2.c
+++ b/
src/pld/virtex2.c
@@
-40,7
+40,7
@@
static int virtex2_set_instr(struct jtag_tap *tap, uint32_t new_instr)
buf_set_u32(field.out_value, 0, field.num_bits, new_instr);
field.in_value = NULL;
- jtag_add_ir_scan(tap,
1,
&field, jtag_set_end_state(TAP_IDLE));
+ jtag_add_ir_scan(tap, &field, jtag_set_end_state(TAP_IDLE));
free(field.out_value);
}