From: oharboe Date: Tue, 19 Aug 2008 16:42:58 +0000 (+0000) Subject: make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=ea0270e38ee811e4a64b9f21b8a71dcc2559626f;p=fw%2Fopenocd make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG() output. Avoids flooding logs in certain cases and OpenOCD will output error message if the halt fails. git-svn-id: svn://svn.berlios.de/openocd/trunk@944 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/target/target.c b/src/target/target.c index 3ed7fc4e6..b2220c0bb 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1642,7 +1642,7 @@ int target_wait_state(target_t *target, enum target_state state, int ms) if (once) { once=0; - LOG_USER("waiting for target %s...", target_state_strings[state]); + LOG_DEBUG("waiting for target %s...", target_state_strings[state]); } gettimeofday(&now, NULL);