summaryrefslogtreecommitdiff
path: root/nuttx/examples/nx/nx_main.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 16:02:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-11-29 16:02:34 +0000
commite160c26913012555bd98786439959064a15ff8fd (patch)
tree537cf856e0ebb32dddde055dc92fce852a7c8c3d /nuttx/examples/nx/nx_main.c
parent28e31db34fcdf639b830836d94bdbda3c11a43b3 (diff)
downloadpx4-nuttx-e160c26913012555bd98786439959064a15ff8fd.tar.gz
px4-nuttx-e160c26913012555bd98786439959064a15ff8fd.tar.bz2
px4-nuttx-e160c26913012555bd98786439959064a15ff8fd.zip
Use configurable server configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1346 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nx/nx_main.c')
-rw-r--r--nuttx/examples/nx/nx_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/examples/nx/nx_main.c b/nuttx/examples/nx/nx_main.c
index cd91cea2e..f36f0e5d4 100644
--- a/nuttx/examples/nx/nx_main.c
+++ b/nuttx/examples/nx/nx_main.c
@@ -325,7 +325,8 @@ int user_start(int argc, char *argv[])
/* Start the server task */
message("user_start: Starting nx_servertask task\n");
- servrid = task_create("NX Server", 50, CONFIG_EXAMPLES_NX_STACKSIZE, nx_servertask, NULL);
+ servrid = task_create("NX Server", CONFIG_EXAMPLES_NX_SERVERPRIO,
+ CONFIG_EXAMPLES_NX_STACKSIZE, nx_servertask, NULL);
if (servrid < 0)
{
message("user_start: Failed to create nx_servertask task: %d\n", errno);