diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-01 15:13:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-01 15:13:12 +0000 |
commit | d39be926e308cd3a9a009ede595c118ef85c0d4c (patch) | |
tree | 79c46c0ea29c748379c141b13df315df824708c9 /nuttx/examples/nx/nx_main.c | |
parent | 2d9e8e7ed9c921121d44b22f06b1d806c2b1f72a (diff) | |
download | px4-nuttx-d39be926e308cd3a9a009ede595c118ef85c0d4c.tar.gz px4-nuttx-d39be926e308cd3a9a009ede595c118ef85c0d4c.tar.bz2 px4-nuttx-d39be926e308cd3a9a009ede595c118ef85c0d4c.zip |
Fix passed window number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1369 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nx/nx_main.c')
-rw-r--r-- | nuttx/examples/nx/nx_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/examples/nx/nx_main.c b/nuttx/examples/nx/nx_main.c index f1a136f82..febc8cc7f 100644 --- a/nuttx/examples/nx/nx_main.c +++ b/nuttx/examples/nx/nx_main.c @@ -551,7 +551,7 @@ int user_start(int argc, char *argv[]) /* Create window #1 */ message("user_start: Create window #1\n"); - hwnd1 = nx_openwindow(g_hnx, &g_nxcb1, (FAR void *)2); + hwnd1 = nx_openwindow(g_hnx, &g_nxcb1, (FAR void *)1); message("user_start: hwnd1=%p\n", hwnd1); if (!hwnd1) |