]> git.sur5r.net Git - openocd/commit
Simplify jtag_add_sleep:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:58:28 +0000 (10:58 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:58:28 +0000 (10:58 +0000)
commit8290a05c2b3284e3820fc95a10c1cc189f1c186f
treee9e2466f454814b12bdb79aa0ab5f2c56669bcaf
parent8c21ca7e81d3408392e6691fc34cb793eb964749
Simplify jtag_add_sleep:
- Add todo for removing keep_alive: is this a layering violation?
- Use jtag_set_error instead of accessing jtag_error directly.
- Remove superfluous retval temporary variable and empty return.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2127 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/jtag.c