diff options
author | Greg Savin <43152568+SiFiveGregS@users.noreply.github.com> | 2019-04-22 18:18:29 -0700 |
---|---|---|
committer | Greg Savin <43152568+SiFiveGregS@users.noreply.github.com> | 2019-04-22 18:18:29 -0700 |
commit | b95249cf5c79deb296e8b100fa87e7f4efd28bd8 (patch) | |
tree | 8601702d2a51da8ccadf2933180c4f31e0601574 | |
parent | 44dda6957738b7f2306461a0c1cc404154c9cad9 (diff) | |
download | riscv-openocd-b95249cf5c79deb296e8b100fa87e7f4efd28bd8.zip riscv-openocd-b95249cf5c79deb296e8b100fa87e7f4efd28bd8.tar.gz riscv-openocd-b95249cf5c79deb296e8b100fa87e7f4efd28bd8.tar.bz2 |
Fixed typo in comment.new_bscan_approach
-rw-r--r-- | src/target/riscv/riscv-013.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 8516622..6d3273e 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -509,7 +509,7 @@ static dmi_status_t dmi_scan(struct target *target, uint32_t *address_in, before the JTAG queue gets executed, which is an error waiting to happen), or initializing outside of the check for whether a BSCAN tunnel was active (which would be a waste of CPU time when BSCAN tunnel is not being used. So I declared the - struct at the function's top-level, so it's lifetime exceeds the point at which + struct at the function's top-level, so its lifetime exceeds the point at which the queue is executed, and initializing with assignments here. */ memset(tunneled_dr, 0, sizeof(tunneled_dr)); tunneled_dr[0].num_bits = 1; |