]> git.sur5r.net Git - openocd/commit
Simplify jtag_execute_queue:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:56:07 +0000 (10:56 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 8 Jun 2009 10:56:07 +0000 (10:56 +0000)
commit4cff9dc0c17df26b9c1908e5382095f044913877
treed6cddd9a686182f09dadac6d746ba33a039e9aea
parentf418fcbff06e04a2ddacef0e0e6dcc329a73eb73
Simplify jtag_execute_queue:
- Add static inline jtag_error_clear helper to return and clear jtag_error.
- Use new helper to shrink body of function to two lines.

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