summaryrefslogtreecommitdiff
path: root/nuttx/graphics
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-17 14:46:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-17 14:46:13 +0000
commit6fb154273f6cdb31738b54a3f9a513b944d20813 (patch)
tree9d8c28c160258d8a8c76bdd6751c85175b05795a /nuttx/graphics
parent3facd1246f2a57f2b78c3e16521803c62c8394f4 (diff)
downloadpx4-nuttx-6fb154273f6cdb31738b54a3f9a513b944d20813.tar.gz
px4-nuttx-6fb154273f6cdb31738b54a3f9a513b944d20813.tar.bz2
px4-nuttx-6fb154273f6cdb31738b54a3f9a513b944d20813.zip
1st round of fixes for LCD build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2604 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics')
-rwxr-xr-xnuttx/graphics/nxglib/lcd/nxglib_fillrectangle.c3
-rw-r--r--nuttx/graphics/nxglib/nxglib_bitblit.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/graphics/nxglib/lcd/nxglib_fillrectangle.c b/nuttx/graphics/nxglib/lcd/nxglib_fillrectangle.c
index 430f9cab6..79b448d2b 100755
--- a/nuttx/graphics/nxglib/lcd/nxglib_fillrectangle.c
+++ b/nuttx/graphics/nxglib/lcd/nxglib_fillrectangle.c
@@ -39,6 +39,7 @@
#include <nuttx/config.h>
+#include <sys/types.h>
#include <stdint.h>
#include <nuttx/lcd.h>
@@ -100,7 +101,7 @@ void NXGL_FUNCNAME(nxgl_fillrectangle,NXGLIB_SUFFIX)
for (col = 0; col < ncols; col++)
{
#if NXGLIB_BITSPERPIXEL < 8
-#elif
+#else
g_runbuffer
#endif
}
diff --git a/nuttx/graphics/nxglib/nxglib_bitblit.h b/nuttx/graphics/nxglib/nxglib_bitblit.h
index 27a4ee37d..9d04f8c78 100644
--- a/nuttx/graphics/nxglib/nxglib_bitblit.h
+++ b/nuttx/graphics/nxglib/nxglib_bitblit.h
@@ -1,7 +1,7 @@
/****************************************************************************
* graphics/nxglib/nxglib_bitblit.h
*
- * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without