aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/HY-MiniSTM32V/board_SSD1289.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/HY-MiniSTM32V/board_SSD1289.h')
-rw-r--r--boards/base/HY-MiniSTM32V/board_SSD1289.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/boards/base/HY-MiniSTM32V/board_SSD1289.h b/boards/base/HY-MiniSTM32V/board_SSD1289.h
index 7193e466..bceca399 100644
--- a/boards/base/HY-MiniSTM32V/board_SSD1289.h
+++ b/boards/base/HY-MiniSTM32V/board_SSD1289.h
@@ -169,7 +169,7 @@ static GFXINLINE uint16_t read_data(GDisplay *g) {
}
#if defined(GDISP_USE_DMA) || defined(__DOXYGEN__)
-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;
dmaStreamSetPeripheral(GDISP_DMA_STREAM, buffer);
dmaStreamSetMode(GDISP_DMA_STREAM, STM32_DMA_CR_PL(0) | \
@@ -182,7 +182,7 @@ static GFXINLINE void dma_with_noinc(GDisplay *g, color_t *buffer, int 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;
dmaStreamSetPeripheral(GDISP_DMA_STREAM, buffer);
dmaStreamSetMode(GDISP_DMA_STREAM, STM32_DMA_CR_PL(0) | STM32_DMA_CR_PINC | \