xiaoxiang781216 commented on code in PR #6551: URL: https://github.com/apache/incubator-nuttx/pull/6551#discussion_r912361028
########## drivers/lcd/Kconfig: ########## @@ -18,6 +18,15 @@ menuconfig LCD if LCD +config FB_REDRAW Review Comment: @adamkaliszan could you review whether https://github.com/apache/incubator-nuttx/pull/6564 could resolve your problem. ########## drivers/lcd/lcd_framebuffer.c: ########## @@ -173,7 +173,30 @@ static int lcdfb_updateearea(FAR struct fb_vtable_s *vtable, fb_coord_t endy; int ret; - DEBUGASSERT(area != NULL); + if (area == NULL) + { + run = priv->fbmem; + + for (row = 0; row < priv->yres; row++) + { + ret = pinfo->putrun(pinfo->dev, row, 0, run, priv->xres); + if (ret < 0) + { + return ret; + } + + run += priv->stride; + } + + /* Just redraw the display + * TODO add new function pointer to xtruct lcd_planeinfo_s + * Now calling pointer putrun with npix = 0 activates redrawing display + */ + + ret = pinfo->putrun(pinfo->dev, 0, 0, priv->fbmem, 0); Review Comment: @adamkaliszan could you review whether https://github.com/apache/incubator-nuttx/pull/6564 could resolve your problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org