summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-19 16:32:08 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-04-19 16:32:08 +0000
commit43935f865a5f23262f107eda1f4be59476397c51 (patch)
treeef8d6d1ca412a87d651cae9b5dd1d13e04ec65bd /nuttx/include
parentb009f2c6363cd14c79c3a343a9b488c7309a0b67 (diff)
downloadpx4-nuttx-43935f865a5f23262f107eda1f4be59476397c51.tar.gz
px4-nuttx-43935f865a5f23262f107eda1f4be59476397c51.tar.bz2
px4-nuttx-43935f865a5f23262f107eda1f4be59476397c51.zip
Fix errors that have crept into DM320 build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1715 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/nx.h2
-rw-r--r--nuttx/include/nuttx/nxglib.h8
2 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/nx.h b/nuttx/include/nuttx/nx.h
index cb5ac07e3..3b7f2940d 100644
--- a/nuttx/include/nuttx/nx.h
+++ b/nuttx/include/nuttx/nx.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/nx.h
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
diff --git a/nuttx/include/nuttx/nxglib.h b/nuttx/include/nuttx/nxglib.h
index 89585cf50..97e58f033 100644
--- a/nuttx/include/nuttx/nxglib.h
+++ b/nuttx/include/nuttx/nxglib.h
@@ -1,7 +1,7 @@
/****************************************************************************
* include/nuttx/nxglib.h
*
- * Copyright (C) 2008 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -49,6 +49,12 @@
* Pre-processor definitions
****************************************************************************/
+/* Configuration ************************************************************/
+
+#ifndef CONFIG_NX_NPLANES
+# define CONFIG_NX_NPLANES 1 /* Max number of color planes supported */
+#endif
+
/* Mnemonics for indices */
#define NX_TOP_NDX (0)