summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-24 00:09:01 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-24 00:09:01 +0000
commit85d9df0abee0d1754bb66b4088f66d1f3fba49d1 (patch)
treeab6bca3ac19931397d76c3bfd27eb1acc48939a3
parentc44875bf6618c6785ef58a734f47155ece14a30f (diff)
downloadnuttx-85d9df0abee0d1754bb66b4088f66d1f3fba49d1.tar.gz
nuttx-85d9df0abee0d1754bb66b4088f66d1f3fba49d1.tar.bz2
nuttx-85d9df0abee0d1754bb66b4088f66d1f3fba49d1.zip
Documentation/NXGraphicsSubsystem.html
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2625 42af7a65-404d-4744-a932-0658087f49c3
-rwxr-xr-xnuttx/configs/sam3u-ek/nx/defconfig2
-rw-r--r--nuttx/examples/nx/nx_main.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/configs/sam3u-ek/nx/defconfig b/nuttx/configs/sam3u-ek/nx/defconfig
index 7c944798b..bc94309ec 100755
--- a/nuttx/configs/sam3u-ek/nx/defconfig
+++ b/nuttx/configs/sam3u-ek/nx/defconfig
@@ -878,7 +878,7 @@ CONFIG_EXAMPLES_NX_TBCOLOR=0xad55
CONFIG_EXAMPLES_NX_FONTCOLOR=0x0000
CONFIG_EXAMPLES_NX_BPP=16
CONFIG_EXAMPLES_NX_RAWWINDOWS=n
-CONFIG_EXAMPLES_NX_STACKSIZE=8192
+CONFIG_EXAMPLES_NX_STACKSIZE=2048
CONFIG_EXAMPLES_NX_CLIENTPRIO=80
CONFIG_EXAMPLES_NX_SERVERPRIO=120
CONFIG_EXAMPLES_NX_NOTIFYSIGNO=4
diff --git a/nuttx/examples/nx/nx_main.c b/nuttx/examples/nx/nx_main.c
index 4f5fe8cd4..eac7c12b1 100644
--- a/nuttx/examples/nx/nx_main.c
+++ b/nuttx/examples/nx/nx_main.c
@@ -853,8 +853,8 @@ int user_start(int argc, char *argv[])
/* Close the window 2 */
errout_with_hwnd2:
- message("user_start: Close window\n");
- (void)nxeg_closewindow(hwnd2, &g_wstate[2]);
+ message("user_start: Close window #2\n");
+ (void)nxeg_closewindow(hwnd2, &g_wstate[1]);
/* Close the window1 */