projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers/bitbang: add support for SWD multidrop
[fw/openocd]
/
src
/
jtag
/
drivers
/
osbdm.c
diff --git
a/src/jtag/drivers/osbdm.c
b/src/jtag/drivers/osbdm.c
index aea126d0d34e0d13996b07462290658c41ee26cc..5c43d32445115914f1a63edce78f5d40790529ec 100644
(file)
--- a/
src/jtag/drivers/osbdm.c
+++ b/
src/jtag/drivers/osbdm.c
@@
-274,7
+274,7
@@
static int osbdm_swap(struct osbdm *osbdm, void *tms, void *tdi,
return ERROR_FAIL;
}
return ERROR_FAIL;
}
- /* Copy TDO respon
c
e
+ /* Copy TDO respon
s
e
*/
uint8_t *buffer = osbdm->buffer + 4;
for (int bit_idx = 0; bit_idx < length; ) {
*/
uint8_t *buffer = osbdm->buffer + 4;
for (int bit_idx = 0; bit_idx < length; ) {
@@
-374,7
+374,7
@@
static int osbdm_flush(struct osbdm *osbdm, struct queue *queue)
static int osbdm_open(struct osbdm *osbdm)
{
(void)memset(osbdm, 0, sizeof(*osbdm));
static int osbdm_open(struct osbdm *osbdm)
{
(void)memset(osbdm, 0, sizeof(*osbdm));
- if (jtag_libusb_open(osbdm_vid, osbdm_pid, NULL, &osbdm->devh) != ERROR_OK)
+ if (jtag_libusb_open(osbdm_vid, osbdm_pid, NULL, &osbdm->devh
, NULL
) != ERROR_OK)
return ERROR_FAIL;
if (libusb_claim_interface(osbdm->devh, 0) != ERROR_OK)
return ERROR_FAIL;
if (libusb_claim_interface(osbdm->devh, 0) != ERROR_OK)