mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +08:00
Fix a couple more LCD bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2622 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -167,10 +167,10 @@
|
|||||||
|
|
||||||
/* Graphics Capbilities ***************************************************************/
|
/* Graphics Capbilities ***************************************************************/
|
||||||
|
|
||||||
/* LCD resolution */
|
/* LCD resolution: 240 (row) x 320 (columns) */
|
||||||
|
|
||||||
#define SAM3UEK_XRES 320
|
#define SAM3UEK_XRES 240
|
||||||
#define SAM3UEK_YRES 240
|
#define SAM3UEK_YRES 320
|
||||||
|
|
||||||
/* Color depth and format. BPP=16 R=6, G=6, B=5: RRRR RBBB BBBG GGGG */
|
/* Color depth and format. BPP=16 R=6, G=6, B=5: RRRR RBBB BBBG GGGG */
|
||||||
|
|
||||||
|
|||||||
@@ -106,6 +106,6 @@ void NXGL_FUNCNAME(nxgl_fillrectangle,NXGLIB_SUFFIX)
|
|||||||
{
|
{
|
||||||
/* Draw the raster line at this row */
|
/* Draw the raster line at this row */
|
||||||
|
|
||||||
(void)pinfo->putrun(row, rect->pt2.x, pinfo->buffer, ncols);
|
(void)pinfo->putrun(row, rect->pt1.x, pinfo->buffer, ncols);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user