Add explanatory comment.

Co-authored-by: Jan Matyas <50193733+JanMatCodasip@users.noreply.github.com>
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2022-09-19 09:44:10 -07:00 committed by GitHub
parent 89746e111b
commit fa1abc63d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3059,6 +3059,7 @@ static int handle_target(void *priv)
/* polling may fail silently until the target has been examined */
retval = target_poll(target);
if (retval == ERROR_OK) {
/* Polling succeeded, reset the back-off interval */
target->backoff.interval = polling_interval;
} else {
/* Increase interval between polling up to 5000ms */