aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1289
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/SSD1289')
-rw-r--r--drivers/gdisp/SSD1289/board_SSD1289_template.h4
-rw-r--r--drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gdisp/SSD1289/board_SSD1289_template.h b/drivers/gdisp/SSD1289/board_SSD1289_template.h
index 5d9442e9..d255f420 100644
--- a/drivers/gdisp/SSD1289/board_SSD1289_template.h
+++ b/drivers/gdisp/SSD1289/board_SSD1289_template.h
@@ -65,13 +65,13 @@ static GFXINLINE uint16_t read_data(GDisplay *g) {
#if defined(GDISP_USE_DMA) && GDISP_USE_DMA
- static GFXINLINE void dma_with_noinc(GDisplay *g, color_t *buffer, int area) {
+ static GFXINLINE void dma_with_noinc(GDisplay *g, gColor *buffer, int area) {
(void) g;
(void) buffer;
(void) area;
}
- static GFXINLINE void dma_with_inc(GDisplay *g, color_t *buffer, int area) {
+ static GFXINLINE void dma_with_inc(GDisplay *g, gColor *buffer, int area) {
(void) g;
(void) buffer;
(void) area;
diff --git a/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c b/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c
index 7a9c4e27..807803a4 100644
--- a/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c
+++ b/drivers/gdisp/SSD1289/gdisp_lld_SSD1289.c
@@ -223,7 +223,7 @@ LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
setreadmode(g);
dummy_read(g);
}
- LLDSPEC color_t gdisp_lld_read_color(GDisplay *g) {
+ LLDSPEC gColor gdisp_lld_read_color(GDisplay *g) {
uint16_t data;
data = read_data(g);