From 1e3c2bdda4c56b2c87cdb118cfc673314dbe1231 Mon Sep 17 00:00:00 2001 From: Greg Savin Date: Mon, 4 Nov 2019 16:31:25 -0800 Subject: [PATCH] Fix for formatting issues --- src/target/riscv/riscv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index af686844d..70c5e2fb1 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -172,7 +172,7 @@ struct scan_field select_idcode = { bscan_tunnel_type_t bscan_tunnel_type; int bscan_tunnel_ir_width; /* if zero, then tunneling is not present/active */ -bool bscan_user4_selected = false; +bool bscan_user4_selected; uint8_t bscan_zero[4] = {0}; uint8_t bscan_one[4] = {1}; @@ -277,7 +277,7 @@ static int riscv_resume_go_all_harts(struct target *target); void select_dmi_via_bscan(struct target *target) { if (!bscan_user4_selected) { - jtag_add_ir_scan(target->tap, &select_user4, TAP_IDLE); + jtag_add_ir_scan(target->tap, &select_user4, TAP_IDLE); bscan_user4_selected = true; } if (bscan_tunnel_type == BSCAN_TUNNEL_DATA_REGISTER) @@ -356,7 +356,7 @@ uint32_t dtmcontrol_scan_via_bscan(struct target *target, uint32_t out) } if (!bscan_user4_selected) { - jtag_add_ir_scan(target->tap, &select_user4, TAP_IDLE); + jtag_add_ir_scan(target->tap, &select_user4, TAP_IDLE); bscan_user4_selected = true; }