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
This commit is contained in:
patacongo
2012-02-12 23:54:26 +00:00
parent bb9efbfe7e
commit f13f49939e
15 changed files with 149 additions and 50 deletions
+6
View File
@@ -596,6 +596,12 @@ EXTERN int lib_lowprintf(FAR const char *format, ...);
EXTERN void lib_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
unsigned int buflen);
/* Enable or disable debug output */
#ifdef CONFIG_DEBUG_ENABLE
EXTERN void dbg_enable(bool enable);
#endif
/* If the cross-compiler's pre-processor does not support variable
* length arguments, then these additional APIs will be built.
*/