aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.c')
-rw-r--r--drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.c b/drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.c
index 61f7b500..d3aeadfe 100644
--- a/drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.c
+++ b/drivers/gdisp/Fb24bpp/gdisp_lld_fb24bpp.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_fb24bpp.h"
@@ -155,7 +155,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;
@@ -165,7 +165,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;