From a5ef04349a2d9e780aa4633b4c58883eefb44702 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 30 Nov 2014 15:44:11 -0600 Subject: [PATCH] A few more traveler fixes --- graphics/traveler/Kconfig | 1 + graphics/traveler/src/trv_main.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/graphics/traveler/Kconfig b/graphics/traveler/Kconfig index 3feee99bb..e938ec742 100644 --- a/graphics/traveler/Kconfig +++ b/graphics/traveler/Kconfig @@ -8,6 +8,7 @@ if GRAPHICS_TRAVELER config GRAPHICS_TRAVELER_PERFMON bool "Performance monitor game" default y + depends on NX && FS_READABLE && !NX_LCDDRIVER ---help--- Enable or disable performance monitoring instrumentation and output. diff --git a/graphics/traveler/src/trv_main.c b/graphics/traveler/src/trv_main.c index 6f74055ba..604ff2975 100755 --- a/graphics/traveler/src/trv_main.c +++ b/graphics/traveler/src/trv_main.c @@ -149,7 +149,11 @@ static double trv_current_time(void) * Description: ****************************************************************************/ -int main(int argc, char *argv[]) +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char *argv[]) +#else +int traveler_main(int argc, char *argv[]) +#endif { FAR struct trv_graphics_info_s ginfo; struct trv_framebuffer_s frame;