diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-30 20:13:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-30 20:13:50 +0000 |
commit | 79c7065433ae27932ad8b781d38b8f7832b01581 (patch) | |
tree | f770414832eeecb35adb70404b31d147afad7235 /apps/examples/wlan/wlan_main.c | |
parent | f9d19788072090be80b71ab0d0de14507a6e739b (diff) | |
download | px4-nuttx-79c7065433ae27932ad8b781d38b8f7832b01581.tar.gz px4-nuttx-79c7065433ae27932ad8b781d38b8f7832b01581.tar.bz2 px4-nuttx-79c7065433ae27932ad8b781d38b8f7832b01581.zip |
Add configurable application entry point
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5070 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/wlan/wlan_main.c')
-rw-r--r-- | apps/examples/wlan/wlan_main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/wlan/wlan_main.c b/apps/examples/wlan/wlan_main.c index d1fb44e94..dcb8c770a 100644 --- a/apps/examples/wlan/wlan_main.c +++ b/apps/examples/wlan/wlan_main.c @@ -258,32 +258,32 @@ static int wlan_waiter(int argc, char *argv[]) } /**************************************************************************** - * Name: user_start + * Name: wlan_main ****************************************************************************/ -int user_start(int argc, char *argv[]) +int wlan_main(int argc, char *argv[]) { pid_t pid; int ret; /* First, register all of the USB host Wireless LAN drivers */ - printf("user_start: Register drivers\n"); + printf("wlan_main: Register drivers\n"); ret = usbhost_wlaninit(); if (ret != OK) { - printf("user_start: Failed to register the WLAN driver\n"); + printf("wlan_main: Failed to register the WLAN driver\n"); } /* Then get an instance of the USB host interface */ - printf("user_start: Initialize USB host WLAN driver\n"); + printf("wlan_main: Initialize USB host WLAN driver\n"); g_drvr = usbhost_initialize(0); if (g_drvr) { /* Start a thread to handle device connection. */ - printf("user_start: Start wlan_waiter\n"); + printf("wlan_main: Start wlan_waiter\n"); #ifndef CONFIG_CUSTOM_STACK pid = task_create("usbhost", CONFIG_EXAMPLES_WLAN_DEFPRIO, |