summaryrefslogtreecommitdiff
path: root/src/target/target_request.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-08-08 09:14:54 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-08-09 09:10:37 +0200
commit1399e5f753256e7b5523f1eb260cdd7e95e80dee (patch)
tree9562f52600e8f5fc4fa9ac8b5a7268bf6a100d12 /src/target/target_request.h
parent28ddefd0659048773fd6066d0265fca76ca036d5 (diff)
downloadopenocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.tar.gz
openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.tar.bz2
openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.tar.xz
openocd+libswd-1399e5f753256e7b5523f1eb260cdd7e95e80dee.zip
target: if polling fails, back off
back-off algorithm for polling. Double polling interval up to 5000ms when it fails. when polling succeeds, reset backoff. This avoids flooding logs(as much) when working with conditions where the target polling will fail. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/target/target_request.h')
0 files changed, 0 insertions, 0 deletions