From 1ca25164fc841ef01636f03ccb7a8bac92907997 Mon Sep 17 00:00:00 2001 From: xuzhuoyi Date: Tue, 2 Oct 2018 22:12:53 +0800 Subject: [PATCH] [bsp][stm32f429-disco] Fix missing of info->framebuffer --- bsp/stm32f429-disco/drivers/drv_lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32f429-disco/drivers/drv_lcd.c b/bsp/stm32f429-disco/drivers/drv_lcd.c index 3476a8198e..4f6c438a5d 100644 --- a/bsp/stm32f429-disco/drivers/drv_lcd.c +++ b/bsp/stm32f429-disco/drivers/drv_lcd.c @@ -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; }