mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-14 08:53:21 +00:00
A few more traveler fixes
This commit is contained in:
parent
63227c9ad8
commit
a5ef04349a
2 changed files with 6 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue