mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Nucleo F4x1RE: Stangeness in initialization noted by Sébastien Lorquet
This commit is contained in:
@@ -121,6 +121,11 @@ void board_initialize(void)
|
||||
|
||||
#if defined(CONFIG_NSH_LIBRARY) && !defined(CONFIG_NSH_ARCHINIT)
|
||||
nsh_archinitialize();
|
||||
#endif
|
||||
|
||||
/* CC3000 wireless initialization */
|
||||
|
||||
#ifdef CONFIG_WL_CC3000
|
||||
wireless_archinitialize(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user