diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2008-09-28 17:15:17 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2008-09-28 17:15:17 +0000 |
commit | 961b75a7a2a7e4081b5cf69f55559b2090803d85 (patch) | |
tree | 01d2443084f1e698166c221b46d8f770a3ae5435 /nuttx/include/debug.h | |
parent | a64b86c1b6ab94b35071f9f8ebd19285c4332495 (diff) |
Preparing USB environment
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@957 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include/debug.h')
-rw-r--r-- | nuttx/include/debug.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nuttx/include/debug.h b/nuttx/include/debug.h index c76c573136..c07eb97ccc 100644 --- a/nuttx/include/debug.h +++ b/nuttx/include/debug.h @@ -123,6 +123,16 @@ # define nvdbg(x...) #endif +#ifdef CONFIG_DEBUG_USB +# define udbg(format, arg...) dbg(format, ##arg) +# define ulldbg(format, arg...) lldbg(format, ##arg) +# define uvdbg(format, arg...) vdbg(format, ##arg) +#else +# define udbg(x...) +# define ulldbg(x...) +# define uvdbg(x...) +#endif + #ifdef CONFIG_DEBUG_FS # define fdbg(format, arg...) dbg(format, ##arg) # define flldbg(format, arg...) lldbg(format, ##arg) @@ -192,6 +202,16 @@ # define nvdbg (void) #endif +#ifdef CONFIG_DEBUG_USB +# define udbg dbg +# define ulldbg lldbg +# define uvdbg vdbg +#else +# define udbg (void) +# define ulldbg (void) +# define uvdbg (void) +#endif + #ifdef CONFIG_DEBUG_FS # define fdbg dbg # define flldbg lldbg |