Make NSH net-initialization be a configuration option

Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
This commit is contained in:
Marten Svanfeldt
2015-10-19 12:05:17 +08:00
parent 7fff9a000a
commit 33c6a6bb75
3 changed files with 13 additions and 3 deletions

View File

@@ -74,7 +74,7 @@
#include "nsh.h"
#ifdef CONFIG_NET
#ifdef CONFIG_NSH_NETINIT
/****************************************************************************
* Pre-processor Definitions
@@ -689,4 +689,4 @@ int nsh_netinit(void)
#endif
}
#endif /* CONFIG_NET */
#endif /* CONFIG_NSH_NETINIT */