aboutsummaryrefslogtreecommitdiffstats
path: root/demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 11:19:43 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 11:19:43 +1000
commitf9c848e9851713d7a33962b9b4768c0a0d1751f1 (patch)
tree2b2caf1949078428ca3fd3cd47547d0485efa407 /demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h
parentcfb1b2a488d5b1a9e14c889b80e5324d16f63f1b (diff)
downloaduGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.tar.gz
uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.tar.bz2
uGFX-f9c848e9851713d7a33962b9b4768c0a0d1751f1.zip
Change color_t to gColor
Diffstat (limited to 'demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h')
-rw-r--r--demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h b/demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h
index dc3580e6..736840e2 100644
--- a/demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h
+++ b/demos/games/tetris/Example_Makefiles/stm32f4/board_SSD1289.h
@@ -155,7 +155,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) | STM32_DMA_CR_PSIZE_HWORD | STM32_DMA_CR_MSIZE_HWORD | STM32_DMA_CR_DIR_M2M);
@@ -166,7 +166,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);