summaryrefslogtreecommitdiff
path: root/nuttx/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-07 21:25:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-07 21:25:24 +0000
commit9bc51533db436502b50aaa0014aa272576968df2 (patch)
tree69130cca051fdf38817fd4c99502b30f804981e8 /nuttx/include
parent1d7b4d2140b3d4dec9554a333e0e442103e3708f (diff)
downloadpx4-nuttx-9bc51533db436502b50aaa0014aa272576968df2.tar.gz
px4-nuttx-9bc51533db436502b50aaa0014aa272576968df2.tar.bz2
px4-nuttx-9bc51533db436502b50aaa0014aa272576968df2.zip
Various fixes for running the NxWM unit test on the STM3240G-EVAL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4711 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include')
-rw-r--r--nuttx/include/nuttx/nx/nx.h7
-rw-r--r--nuttx/include/nuttx/nx/nxconsole.h4
2 files changed, 6 insertions, 5 deletions
diff --git a/nuttx/include/nuttx/nx/nx.h b/nuttx/include/nuttx/nx/nx.h
index 0e908f7c5..bba098398 100644
--- a/nuttx/include/nuttx/nx/nx.h
+++ b/nuttx/include/nuttx/nx/nx.h
@@ -65,13 +65,18 @@
/****************************************************************************
* Public Types
****************************************************************************/
-
/* Configuration ************************************************************/
#ifndef CONFIG_NX_NPLANES
# define CONFIG_NX_NPLANES 1 /* Max number of color planes supported */
#endif
+/* Check if the underlying graphic device supports read operations */
+
+#if !defined(CONFIG_NX_WRITEONLY) && defined(CONFIG_NX_LCDDRIVER) && defined(CONFIG_LCD_NOGETRUN)
+# define CONFIG_NX_WRITEONLY 1
+#endif
+
/* Handles ******************************************************************/
/* The interface to the NX server is managed using a opaque handle: */
diff --git a/nuttx/include/nuttx/nx/nxconsole.h b/nuttx/include/nuttx/nx/nxconsole.h
index 48ac3eacd..7b4bb5f3d 100644
--- a/nuttx/include/nuttx/nx/nxconsole.h
+++ b/nuttx/include/nuttx/nx/nxconsole.h
@@ -71,10 +71,6 @@
* Default: The smallest enabled pixel depth. (see CONFIG_NX_DISABLE_*BPP)
* CONFIG_NXCONSOLE_CURSORCHAR
* The bitmap code to use as the cursor. Default '_'
- * CONFIG_NXCONSOLE_NOGETRUN
- * NxConsole needs to know if it can read from the LCD or not. If reading
- * from the LCD is supported, then NxConsole can do more efficient
- * scrolling. Default: Supported
* CONFIG_NXCONSOLE_MXCHARS
* NxConsole needs to remember every character written to the console so
* that it can redraw the window. This setting determines the size of some