Typo fix for STM32LTDC driver for RGB888

This commit is contained in:
inmarket 2016-02-18 09:03:10 +10:00
parent addbf47bdb
commit 7b6a1acea5

View File

@ -380,7 +380,7 @@ LLDSPEC color_t gdisp_lld_get_pixel_color(GDisplay* g) {
#if GDISP_LLD_PIXELFORMAT == GDISP_PIXELFORMAT_RGB565
DMA2D->OPFCCR = OPFCCR_RGB565;
#elif GDISP_LLD_PIXELFORMAT == GDISP_PIXELFORMAT_RGB888
DMA2D->OPFCCR = OPFCCR_OPFCCR_RGB888;
DMA2D->OPFCCR = OPFCCR_RGB888;
#endif
// Foreground color format