aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c')
-rw-r--r--drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c b/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c
index 40f476b4..121787e1 100644
--- a/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c
+++ b/drivers/gdisp/framebuffer/gdisp_lld_framebuffer.c
@@ -15,7 +15,7 @@
typedef struct fbInfo {
void * pixels; // The pixel buffer
- coord_t linelen; // The number of bytes per display line
+ gCoord linelen; // The number of bytes per display line
} fbInfo;
#include "board_framebuffer.h"
@@ -135,7 +135,7 @@ LLDSPEC color_t gdisp_lld_get_pixel_color(GDisplay *g) {
case GDISP_ROTATE_0:
case GDISP_ROTATE_180:
if (g->g.Orientation == GDISP_ROTATE_90 || g->g.Orientation == GDISP_ROTATE_270) {
- coord_t tmp;
+ gCoord tmp;
tmp = g->g.Width;
g->g.Width = g->g.Height;
@@ -145,7 +145,7 @@ LLDSPEC color_t gdisp_lld_get_pixel_color(GDisplay *g) {
case GDISP_ROTATE_90:
case GDISP_ROTATE_270:
if (g->g.Orientation == GDISP_ROTATE_0 || g->g.Orientation == GDISP_ROTATE_180) {
- coord_t tmp;
+ gCoord tmp;
tmp = g->g.Width;
g->g.Width = g->g.Height;