aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/STM32LTDC/stm32_dma2d.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2016-06-26 11:07:21 +0200
committerJoel Bodenmann <joel@embedded.pro>2016-06-26 11:07:21 +0200
commit4646a36cffa639375c7f6f650665d92aba53a45c (patch)
tree482e56770e9d3e26e71f73795fa360899a0a029d /drivers/gdisp/STM32LTDC/stm32_dma2d.h
parentcb26bc2d3778e6bbb631b6366d2db242de16279a (diff)
downloaduGFX-4646a36cffa639375c7f6f650665d92aba53a45c.tar.gz
uGFX-4646a36cffa639375c7f6f650665d92aba53a45c.tar.bz2
uGFX-4646a36cffa639375c7f6f650665d92aba53a45c.zip
Workaround for using RGB888 with STM32LTDC driver
Diffstat (limited to 'drivers/gdisp/STM32LTDC/stm32_dma2d.h')
-rw-r--r--drivers/gdisp/STM32LTDC/stm32_dma2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gdisp/STM32LTDC/stm32_dma2d.h b/drivers/gdisp/STM32LTDC/stm32_dma2d.h
index d3374d05..1b3478c9 100644
--- a/drivers/gdisp/STM32LTDC/stm32_dma2d.h
+++ b/drivers/gdisp/STM32LTDC/stm32_dma2d.h
@@ -7,6 +7,7 @@
#define OPFCCR_ARGB1555 0x03
#define OPFCCR_ARGB4444 0x04
+#define FGPFCCR_CM_ARGB8888 0x00
#define FGPFCCR_CM_RGB888 0x01
#define FGPFCCR_CM_RGB565 0x02