mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 13:13:08 +08:00
Add support for graphics debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1301 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -163,6 +163,18 @@
|
||||
# define fllvdbg(x...)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_GRAPHICS
|
||||
# define gdbg(format, arg...) dbg(format, ##arg)
|
||||
# define glldbg(format, arg...) lldbg(format, ##arg)
|
||||
# define gvdbg(format, arg...) vdbg(format, ##arg)
|
||||
# define gllvdbg(format, arg...) llvdbg(format, ##arg)
|
||||
#else
|
||||
# define gdbg(x...)
|
||||
# define glldbg(x...)
|
||||
# define gvdbg(x...)
|
||||
# define gllvdbg(x...)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_LIB
|
||||
# define ldbg(format, arg...) dbg(format, ##arg)
|
||||
# define llldbg(format, arg...) lldbg(format, ##arg)
|
||||
@@ -258,6 +270,18 @@
|
||||
# define fllvdbg (void)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_GRAPHICS
|
||||
# define gdbg dbg
|
||||
# define glldbg lldbg
|
||||
# define gvdbg vdbg
|
||||
# define gllvdbg llvdbg
|
||||
#else
|
||||
# define gdbg (void)
|
||||
# define glldbg (void)
|
||||
# define gvdbg (void)
|
||||
# define gllvdbg (void)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEBUG_LIB
|
||||
# define ldbg dbg
|
||||
# define llldbg lldbg
|
||||
|
||||
Reference in New Issue
Block a user