diff options
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/target.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c index 8bc8e4c..1ac666e 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1770,9 +1770,11 @@ static int handle_poll_command(struct command_context_s *cmd_ctx, char *cmd, cha if (argc == 0) { - if((retval = target_poll(target)) != ERROR_OK) + command_print(cmd_ctx, "background polling: %s", + target_continous_poll ? "on" : "off"); + if ((retval = target_poll(target)) != ERROR_OK) return retval; - if((retval = target_arch_state(target)) != ERROR_OK) + if ((retval = target_arch_state(target)) != ERROR_OK) return retval; } |