projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openocd: add keep_alive during command sleep
[fw/openocd]
/
src
/
helper
/
command.c
diff --git
a/src/helper/command.c
b/src/helper/command.c
index 53ee2508a98982aa5d5dc5e51ee3fb67e284f0a4..1e769d7190f1711a3c32818f11e0b0a226a0c492 100644
(file)
--- a/
src/helper/command.c
+++ b/
src/helper/command.c
@@
-1145,6
+1145,7
@@
COMMAND_HANDLER(handle_sleep_command)
int64_t then = timeval_ms();
while (timeval_ms() - then < (int64_t)duration) {
target_call_timer_callbacks_now();
+ keep_alive();
usleep(1000);
}
} else