]> git.sur5r.net Git - openocd/commitdiff
make target_wait_state() usable from other places, made LOG_USER() output LOG_DEBUG...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 19 Aug 2008 16:42:58 +0000 (16:42 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 19 Aug 2008 16:42:58 +0000 (16:42 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@944 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/target.c

index 3ed7fc4e6f7a1ca0625006c2aa57fd22d12260f5..b2220c0bbe8c0c341fefc5f43caa452c569cf12f 100644 (file)
@@ -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);