aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gdisp/gdisp.h1
-rw-r--r--src/gdisp/gdisp_colors.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gdisp/gdisp.h b/src/gdisp/gdisp.h
index 39493257..5dc7c813 100644
--- a/src/gdisp/gdisp.h
+++ b/src/gdisp/gdisp.h
@@ -1230,6 +1230,7 @@ void gdispGDrawBox(GDisplay *g, gCoord x, gCoord y, gCoord cx, gCoord cy, gColor
/* V2 compatibility */
#if GFX_COMPAT_V2
+ typedef gColorformat colorformat;
typedef gColor color_t;
typedef gPixel pixel_t;
typedef gCoord coord_t;
diff --git a/src/gdisp/gdisp_colors.h b/src/gdisp/gdisp_colors.h
index db859234..5ee49801 100644
--- a/src/gdisp/gdisp_colors.h
+++ b/src/gdisp/gdisp_colors.h
@@ -23,7 +23,7 @@
#if GFX_USE_GDISP || defined(__DOXYGEN__)
-typedef uint16_t colorformat;
+typedef uint16_t gColorformat;
/**
* @name Color system masks