Debug can now be selectively enabled by subystem

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@404 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2007-11-23 22:32:52 +00:00
parent 2d9b57758b
commit b72a7ab50b
82 changed files with 328 additions and 278 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *attr)
{
int ret = OK;
dbg("cond=0x%p attr=0x%p\n", cond, attr);
sdbg("cond=0x%p attr=0x%p\n", cond, attr);
if (!cond)
{
@@ -83,7 +83,7 @@ int pthread_cond_init(pthread_cond_t *cond, pthread_condattr_t *attr)
ret = EINVAL;
}
dbg("Returning %d\n", ret);
sdbg("Returning %d\n", ret);
return ret;
}