From c76b0618d7457a68b464a64e91ed98dc2482b262 Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 7 Aug 2008 16:37:20 +0000 Subject: David Kuehling - added jim-eventloop.c git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/log.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/helper/log.c') diff --git a/src/helper/log.c b/src/helper/log.c index 567320cd..f8dc1a3a 100644 --- a/src/helper/log.c +++ b/src/helper/log.c @@ -27,6 +27,7 @@ #include "log.h" #include "configuration.h" #include "time_support.h" +#include "command.h" #include #include @@ -368,6 +369,11 @@ void keep_alive() LOG_USER_N("%s", ""); last_time=current_time; } + + /* also process TCL events (we have to do this from 'log.c' since its + * keep_alive() is the only routine guaranteed to be called at least + * once per second :( */ + process_jim_events (); } /* reset keep alive timer without sending message */ -- cgit v1.2.3