aboutsummaryrefslogtreecommitdiffstats
path: root/boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h')
-rw-r--r--boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h b/boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h
index fe59ba26..28effec1 100644
--- a/boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h
+++ b/boards/base/Embest-STM32-DMSTF4BB/board_SSD2119.h
@@ -145,7 +145,7 @@ static GFXINLINE uint16_t read_data(GDisplay *g) {
}
#if defined(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;
dmaStreamSetPeripheral(GDISP_DMA_STREAM, buffer);
dmaStreamSetMode(GDISP_DMA_STREAM, STM32_DMA_CR_PL(0) | STM32_DMA_CR_PSIZE_HWORD | STM32_DMA_CR_MSIZE_HWORD | STM32_DMA_CR_DIR_M2M);
@@ -156,7 +156,7 @@ static GFXINLINE uint16_t read_data(GDisplay *g) {
}
}
- 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 | STM32_DMA_CR_PSIZE_HWORD | STM32_DMA_CR_MSIZE_HWORD | STM32_DMA_CR_DIR_M2M);