This is an automated email from Gerrit. "Tomas Vanek <van...@fbl.cz>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/7118
-- gerrit commit 593c37117edf59a24099164637f40dfbc6db5dfa Author: Tomas Vanek <van...@fbl.cz> Date: Mon Aug 15 19:18:18 2022 +0200 server/server: fix target timer timing The change 6363: Call poll at a fixed interval switched from target_call_timer_callbacks() to target_call_timer_callbacks_now(). It breaks the timing as all timers callbacks are called every time one timer expires. Revert this part of change and use target_call_timer_callbacks(). Fixes: db16b3dc5b06 (Call poll at a fixed interval.) Change-Id: Ib5b7774de9694d40c55d2a4109d0d1582fc5008b Signed-off-by: Tomas Vanek <van...@fbl.cz> diff --git a/src/server/server.c b/src/server/server.c index eeaa3d750e..3d626c712e 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -509,7 +509,7 @@ int server_loop(struct command_context *command_context) if (retval == 0) { /* We only execute these callbacks when there was nothing to do or we timed *out */ - target_call_timer_callbacks_now(); + target_call_timer_callbacks(); next_event = target_timer_next_event(); process_jim_events(command_context); --