A few more traveler fixes

This commit is contained in:
Gregory Nutt 2014-11-30 15:44:11 -06:00
parent 74e4ec91b6
commit 403c0951c5
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;