Fix nsh_archinitialize return value
This commit is contained in:
parent
4af760560a
commit
be84c048c9
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user