summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxglib/lcd
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-17 20:38:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-17 20:38:40 +0000
commit60eba1920f22d22f87925f99d31b09ea361e799f (patch)
tree85e2b835181e5ef2c6c43ccddce3124f92b436cb /nuttx/graphics/nxglib/lcd
parent9ef231fcc3ccc2cd496bbbf9c0cb2a5fbe34d577 (diff)
downloadpx4-nuttx-60eba1920f22d22f87925f99d31b09ea361e799f.tar.gz
px4-nuttx-60eba1920f22d22f87925f99d31b09ea361e799f.tar.bz2
px4-nuttx-60eba1920f22d22f87925f99d31b09ea361e799f.zip
Progress on copy rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2608 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxglib/lcd')
-rwxr-xr-xnuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c b/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c
index 62307233a..8d73dcb73 100755
--- a/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c
+++ b/nuttx/graphics/nxglib/lcd/nxglib_copyrectangle.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * graphics/nxglib/lcd`/nxsglib_copyrectangle.c
+ * graphics/nxglib/lcd/nxsglib_copyrectangle.c
*
* Copyright (C) 2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -85,9 +85,7 @@ void NXGL_FUNCNAME(nxgl_copyrectangle,NXGLIB_SUFFIX)
unsigned int srcstride)
{
FAR const uint8_t *sline;
- FAR uint8_t *dline;
unsigned int width;
- unsigned int deststride;
unsigned int rows;
#if NXGLIB_BITSPERPIXEL < 8
@@ -99,10 +97,6 @@ void NXGL_FUNCNAME(nxgl_copyrectangle,NXGLIB_SUFFIX)
int lnlen;
#endif
- /* Get the width of the framebuffer in bytes */
-
- deststride = pinfo->stride;
-
/* Get the dimensions of the rectange to fill: width in pixels,
* height in rows
*/