diff options
Diffstat (limited to 'src/target/embeddedice.h')
-rw-r--r-- | src/target/embeddedice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/embeddedice.h b/src/target/embeddedice.h index 4f6a33c8..5ed66603 100644 --- a/src/target/embeddedice.h +++ b/src/target/embeddedice.h @@ -108,7 +108,7 @@ extern int embeddedice_handshake(arm_jtag_t *jtag_info, int hsbit, uint32_t time /* If many embeddedice_write_reg() follow eachother, then the >1 invocations can be this faster version of * embeddedice_write_reg */ -static __inline__ void embeddedice_write_reg_inner( jtag_tap_t *tap, int reg_addr, uint32_t value) +static __inline__ void embeddedice_write_reg_inner(jtag_tap_t *tap, int reg_addr, uint32_t value) { static const int embeddedice_num_bits[]={32,5,1}; uint32_t values[3]; @@ -117,7 +117,7 @@ static __inline__ void embeddedice_write_reg_inner( jtag_tap_t *tap, int reg_add values[1]=reg_addr; values[2]=1; - jtag_add_dr_out( tap, + jtag_add_dr_out(tap, 3, embeddedice_num_bits, values, |