From ea0270e38ee811e4a64b9f21b8a71dcc2559626f Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 19 Aug 2008 16:42:58 +0000 Subject: [PATCH] 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 --- src/target/target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/target.c b/src/target/target.c index 3ed7fc4e..b2220c0b 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); -- 2.39.5