diff options
Diffstat (limited to 'apps/graphics/traveler/include/trv_debug.h')
-rw-r--r-- | apps/graphics/traveler/include/trv_debug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/graphics/traveler/include/trv_debug.h b/apps/graphics/traveler/include/trv_debug.h index 08b4c2d3b..048c7f097 100644 --- a/apps/graphics/traveler/include/trv_debug.h +++ b/apps/graphics/traveler/include/trv_debug.h @@ -42,6 +42,7 @@ #include "trv_types.h" +#include <stdio.h> #include <debug.h> /**************************************************************************** @@ -65,7 +66,7 @@ #ifndef CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL # define CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL 0 -#ielf (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 3) +#elif (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL == 3) # undef ENABLE_SOUND # undef ENABLE_VIDEO # define TRV_VERBOSE 1 @@ -86,7 +87,7 @@ # if (CONFIG_GRAPHICS_TRAVELER_DEBUG_LEVEL > 0) # define trv_debug(format, ...) \ - printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) + printf(EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__) # ifdef TRV_VERBOSE # define trv_vdebug(format, ...) \ |