projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Error while reading from USB endpoint
[fw/openocd]
/
src
/
jtag
/
drivers
/
rlink.c
diff --git
a/src/jtag/drivers/rlink.c
b/src/jtag/drivers/rlink.c
index c5c2701d1d0b6b783d108198ce4ee4467f4718a8..8a8c8c1f0e773b7db09fb77d43a30d76d704624b 100644
(file)
--- a/
src/jtag/drivers/rlink.c
+++ b/
src/jtag/drivers/rlink.c
@@
-642,7
+642,7
@@
static int dtc_queue_run(void)
usb_err = dtc_run_download(pHDev,
dtc_queue.cmd_buffer, dtc_queue.cmd_index,
- reply_buffer,
dtc_queue.reply_index
+ reply_buffer,
sizeof(reply_buffer)
);
if (usb_err < 0) {
LOG_ERROR("dtc_run_download: %s", usb_strerror());