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:
parent
89746e111b
commit
fa1abc63d2
|
@ -3059,6 +3059,7 @@ static int handle_target(void *priv)
|
||||||
/* polling may fail silently until the target has been examined */
|
/* polling may fail silently until the target has been examined */
|
||||||
retval = target_poll(target);
|
retval = target_poll(target);
|
||||||
if (retval == ERROR_OK) {
|
if (retval == ERROR_OK) {
|
||||||
|
/* Polling succeeded, reset the back-off interval */
|
||||||
target->backoff.interval = polling_interval;
|
target->backoff.interval = polling_interval;
|
||||||
} else {
|
} else {
|
||||||
/* Increase interval between polling up to 5000ms */
|
/* Increase interval between polling up to 5000ms */
|
||||||
|
|
Loading…
Reference in New Issue