Browse Source

target: return JIM_OK instead of ERROR_OK

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>
tags/v0.4.0-rc2
Øyvind Harboe 14 years ago
parent
commit
e5349bfb49
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/jtag/tcl.c

+ 1
- 1
src/jtag/tcl.c View File

@@ -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,


Loading…
Cancel
Save