summaryrefslogtreecommitdiff
path: root/src/target/arm7_9_common.c
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/arm7_9_common.c
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/arm7_9_common.c')
0 files changed, 0 insertions, 0 deletions