summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/traveler/include/trv_debug.h')
-rw-r--r--apps/graphics/traveler/include/trv_debug.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/graphics/traveler/include/trv_debug.h b/apps/graphics/traveler/include/trv_debug.h
index d54b1eb13..08b4c2d3b 100644
--- a/apps/graphics/traveler/include/trv_debug.h
+++ b/apps/graphics/traveler/include/trv_debug.h
@@ -93,13 +93,13 @@
printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
# else
-# define vdbg(x...)
+# define trv_vdebug(x...)
# endif
# else
-# define dbg(x...)
-# define vdbg(x...)
+# define trv_debug(x...)
+# define trv_vdebug(x...)
# endif
#else
@@ -132,7 +132,7 @@
* arguments, then this additional interface will be built.
*/
-#ifndef CONFIG_CPP_HAVE_VARARGS && (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL > 0)
+#if !defined(CONFIG_CPP_HAVE_VARARGS) && CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL > 0
int trv_debug(FAR const char *format, ...);
#endif