summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-12 23:54:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-12 23:54:26 +0000
commitc2079e368c183a100c549671925b66d6b993c8c2 (patch)
tree6e9e40c95947255b743c4a08926a407360d2a19c /nuttx/lib/lib_internal.h
parenta8d12f6d37d46732011e008ac8252c4a3183e182 (diff)
downloadpx4-nuttx-c2079e368c183a100c549671925b66d6b993c8c2.tar.gz
px4-nuttx-c2079e368c183a100c549671925b66d6b993c8c2.tar.bz2
px4-nuttx-c2079e368c183a100c549671925b66d6b993c8c2.zip
Add interface to enabled/disable debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4386 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_internal.h')
-rw-r--r--nuttx/lib/lib_internal.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/lib/lib_internal.h b/nuttx/lib/lib_internal.h
index d960d6cf3..29d49303d 100644
--- a/nuttx/lib/lib_internal.h
+++ b/nuttx/lib/lib_internal.h
@@ -1,8 +1,8 @@
/****************************************************************************
* lib/lib_internal.h
*
- * Copyright (C) 2007-2011 Gregory Nutt. All rights reserved.
- * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+ * Copyright (C) 2007-2012 Gregory Nutt. All rights reserved.
+ * Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -99,6 +99,12 @@
* Public Variables
****************************************************************************/
+/* Debug output is initially disabled */
+
+#ifdef CONFIG_DEBUG_ENABLE
+extern bool g_dbgenable;
+#endif
+
/****************************************************************************
* Public Function Prototypes
****************************************************************************/