summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/target.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/target.c b/src/target/target.c
index aef58d3e..a096045c 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -430,6 +430,10 @@ static int NEW_target_process_reset(struct command_context_s *cmd_ctx, enum targ
sprintf( buf, "ocd_process_reset %s", n->name );
Jim_Eval( interp, buf );
+
+ /* We want any events to be processed before the prompt */
+ target_call_timer_callbacks_now();
+
return ERROR_OK;
}