mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 16:11:56 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user