mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-21 06:23:35 +08:00
[bsp][stm32f429-disco] Fix missing of info->framebuffer
This commit is contained in:
@@ -906,7 +906,7 @@ static rt_err_t lcd_control(rt_device_t dev, int cmd, void *args)
|
||||
|
||||
info->bits_per_pixel = 16;
|
||||
info->pixel_format = RTGRAPHIC_PIXEL_FORMAT_RGB565;
|
||||
info->framebuffer = RT_NULL;
|
||||
info->framebuffer = (rt_uint8_t *)LtdcHandler.LayerCfg[ActiveLayer].FBStartAdress;
|
||||
info->width = 240;
|
||||
info->height = 320;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user