mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Use configurable server configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1346 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user