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
This commit is contained in:
parent
6af4a22689
commit
ea0270e38e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue