mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 15:13:33 +08:00
Add configurable application entry point
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5070 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -107,16 +107,6 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Is this being built as an NSH built-in application? */
|
||||
|
||||
#ifdef CONFIG_NSH_BUILTIN_APPS
|
||||
# define MAIN_NAME ftpd_start
|
||||
# define MAIN_STRING "ftpd_start: "
|
||||
#else
|
||||
# define MAIN_NAME user_start
|
||||
# define MAIN_STRING "user_start: "
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
||||
@@ -217,10 +217,10 @@ int ftpd_daemon(int s_argc, char **s_argv)
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
/****************************************************************************
|
||||
* Name: user_start/ftpd_start
|
||||
* Name: ftpd_main
|
||||
****************************************************************************/
|
||||
|
||||
int MAIN_NAME(int s_argc, char **s_argv)
|
||||
int ftpd_main(int s_argc, char **s_argv)
|
||||
{
|
||||
/* Check if we have already initialized the network */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user