Preparing USB environment

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@957 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2008-09-28 17:15:17 +00:00
parent 58119355f8
commit 6d441cf65f
6 changed files with 687 additions and 2 deletions
+20
View File
@@ -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