diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-07 16:37:20 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-07 16:37:20 +0000 |
commit | c76b0618d7457a68b464a64e91ed98dc2482b262 (patch) | |
tree | 05cc3e57e9413d4e43908ceec7e678470f536fc5 /src/helper/log.c | |
parent | 2cec23fc3761b2f7d978851eef62c4a291a0f18f (diff) |
David Kuehling <dvdkhlng@gmx.de> - added jim-eventloop.c
git-svn-id: svn://svn.berlios.de/openocd/trunk@898 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/log.c')
-rw-r--r-- | src/helper/log.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdio.h> #include <stdlib.h> @@ -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 */ |