9
0
Fork 0

Fix a couple more LCD bugs

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2622 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2010-04-21 03:24:36 +00:00
parent f612837f82
commit d7769e93f6
2 changed files with 4 additions and 4 deletions

View File

@ -167,10 +167,10 @@
/* Graphics Capbilities ***************************************************************/
/* LCD resolution */
/* LCD resolution: 240 (row) x 320 (columns) */
#define SAM3UEK_XRES 320
#define SAM3UEK_YRES 240
#define SAM3UEK_XRES 240
#define SAM3UEK_YRES 320
/* Color depth and format. BPP=16 R=6, G=6, B=5: RRRR RBBB BBBG GGGG */

View File

@ -106,6 +106,6 @@ void NXGL_FUNCNAME(nxgl_fillrectangle,NXGLIB_SUFFIX)
{
/* 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);
}
}