Fix nsh_archinitialize return value

This commit is contained in:
Gregory Nutt 2014-09-20 13:36:29 -06:00
parent 4af760560a
commit be84c048c9

View File

@ -64,11 +64,13 @@
int nsh_archinitialize(void) int nsh_archinitialize(void)
{ {
#ifndef CONFIG_BOARD_INITIALIZE #ifdef CONFIG_BOARD_INITIALIZE
/* Perform board-specific initialization */ /* Board initialization already performed by board_initialize() */
(void)stm32_bringup();
#endif
return OK; return OK;
#else
/* Perform board-specific initialization */
return stm32_bringup();
#endif
} }