]> git.sur5r.net Git - openocd/commit
target: fix poll off
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 25 Mar 2010 12:06:23 +0000 (13:06 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 25 Mar 2010 19:46:34 +0000 (20:46 +0100)
commited6756fb23fc7383ec7a4a831a8750a6cf5eaa4e
tree5123141e9e4a9947e954a5015a6cb534afb8a015
parent010492a1ede305d2375602afa26f50281fea3e2f
target: fix poll off

I don't know when "poll off" broke, but "poll off" didn't
stop background polling of target. The polling status flag
simply wasn't checked in the handle_target timer callback.

All target polling(including power/reset state) is now stopped
upon "poll off".

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/target/target.c