diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-13 21:51:42 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-04-19 12:43:16 +0200 |
commit | e984dc1f162ab2bd94629c32d640d804b0295553 (patch) | |
tree | 6466a60faec99169df7eab2bcc1b0acd38646041 /src/target | |
parent | b69119668ed8d9633280f8b596fe9af60f51644b (diff) | |
download | openocd+libswd-e984dc1f162ab2bd94629c32d640d804b0295553.tar.gz openocd+libswd-e984dc1f162ab2bd94629c32d640d804b0295553.tar.bz2 openocd+libswd-e984dc1f162ab2bd94629c32d640d804b0295553.tar.xz openocd+libswd-e984dc1f162ab2bd94629c32d640d804b0295553.zip |
jtag: clarify jtag->init() and jtag->quit() definitions
only set jtag global pointer if jtag->init() succeeds. Less code,
more clear what the rules are.
Fix nit that error value from init() was not propagated unmodified.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target')
0 files changed, 0 insertions, 0 deletions