Commit ea0270e3 authored by oharboe's avatar oharboe
Browse files

make target_wait_state() usable from other places, made LOG_USER() output...

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
parent 6af4a226
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment