summaryrefslogtreecommitdiff
path: root/nuttx/graphics/nxglib
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-28 15:04:01 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-28 15:04:01 +0000
commitff4412a0c33bfc12c87a98e354a092be5c0246a6 (patch)
treee8889312a3ddeb2d632706c1f96866a8f51e2caa /nuttx/graphics/nxglib
parentc942ffd840bb16140db80f04873c875830c31f67 (diff)
downloadpx4-nuttx-ff4412a0c33bfc12c87a98e354a092be5c0246a6.tar.gz
px4-nuttx-ff4412a0c33bfc12c87a98e354a092be5c0246a6.tar.bz2
px4-nuttx-ff4412a0c33bfc12c87a98e354a092be5c0246a6.zip
Missing parenthesis in NXGL code; add debug output to LPC1788 LCD driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5797 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxglib')
-rw-r--r--nuttx/graphics/nxglib/fb/nxglib_filltrapezoid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/graphics/nxglib/fb/nxglib_filltrapezoid.c b/nuttx/graphics/nxglib/fb/nxglib_filltrapezoid.c
index 7623bf84f..f183ac54a 100644
--- a/nuttx/graphics/nxglib/fb/nxglib_filltrapezoid.c
+++ b/nuttx/graphics/nxglib/fb/nxglib_filltrapezoid.c
@@ -230,7 +230,7 @@ void NXGL_FUNCNAME(nxgl_filltrapezoid,NXGLIB_SUFFIX)(
/* Handle masking of the fractional initial byte */
#ifdef CONFIG_NX_PACKEDMSFIRST
- mask = (uint8_t)(0xff >> (8 - NXGL_REMAINDERX(ix1));
+ mask = (uint8_t)(0xff >> (8 - NXGL_REMAINDERX(ix1)));
#else
mask = (uint8_t)(0xff << (8 - NXGL_REMAINDERX(ix1)));
#endif