summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/arm_adi_v5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 5ce96779..c1555d9f 100644
--- a/src/target/arm_adi_v5.c
+++ b/src/target/arm_adi_v5.c
@@ -130,7 +130,7 @@ int adi_jtag_dp_scan_u32(arm_jtag_t *jtag_info, u8 instr, u8 reg_addr, u8 RnW, u
fields[1].in_value = tmp;
jtag_add_dr_scan_now(2, fields, TAP_INVALID);
- *invalue=le_to_h_u32(in_buf);
+ *invalue=le_to_h_u32(tmp);
} else
{