projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb71a0a
)
target: return JIM_OK instead of ERROR_OK
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 13:59:14 +0000
(14:59 +0100)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Mon, 11 Jan 2010 14:01:02 +0000
(15:01 +0100)
No change in actual binary as JIM_OK == ERROR_OK,
but JIM_OK is correct here.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/jtag/tcl.c
patch
|
blob
|
history
diff --git
a/src/jtag/tcl.c
b/src/jtag/tcl.c
index 7329cee17264bd789f4c44a53cd590496a225fac..f48993f69d6c8bf489d2f29959bb9ce54d7eed42 100644
(file)
--- a/
src/jtag/tcl.c
+++ b/
src/jtag/tcl.c
@@
-623,7
+623,7
@@
static int jim_newtap_cmd(Jim_GetOptInfo *goi)
if (pTap->ir_length != 0)
{
jtag_tap_init(pTap);
- return
ERROR
_OK;
+ return
JIM
_OK;
}
Jim_SetResult_sprintf(goi->interp,