diff options
Diffstat (limited to 'nuttx/configs/spark/src/up_boot.c')
-rw-r--r-- | nuttx/configs/spark/src/up_boot.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/configs/spark/src/up_boot.c b/nuttx/configs/spark/src/up_boot.c index f0199a6fc..939b8cee9 100644 --- a/nuttx/configs/spark/src/up_boot.c +++ b/nuttx/configs/spark/src/up_boot.c @@ -124,11 +124,14 @@ void board_initialize(void) */ #if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_NSH_ARCHINIT) - nsh_archinitialize(); - wireless_archinitialize(0); - + nsh_archinitialize(); #endif + /* CC3000 wireless initialization */ + +#ifdef CONFIG_WL_CC3000 + wireless_archinitialize(0); +#endif } #endif |