summaryrefslogtreecommitdiff
path: root/apps/graphics/traveler/include/trv_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/graphics/traveler/include/trv_types.h')
-rw-r--r--apps/graphics/traveler/include/trv_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/graphics/traveler/include/trv_types.h b/apps/graphics/traveler/include/trv_types.h
index 6fbf61071..2eb9f2618 100644
--- a/apps/graphics/traveler/include/trv_types.h
+++ b/apps/graphics/traveler/include/trv_types.h
@@ -41,12 +41,12 @@
****************************************************************************/
#include <nuttx/config.h>
+#include <nuttx/compiler.h>
+#include <sys/types.h>
#include <stdint.h>
#include <stdbool.h>
-#include <nuttx/nx/nxglib.h>
-
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/
@@ -63,7 +63,8 @@
* Public Types
****************************************************************************/
-typedef uint8_t trv_pixel_t;
+typedef uint8_t trv_pixel_t; /* Width of one pixel in rendering phase */
+typedef int16_t trv_coord_t; /* Contains one display coordinate */
/****************************************************************************
* Public Function Prototypes