Skip to content
Snippets Groups Projects
Commit be84c048 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Fix nsh_archinitialize return value

parent 4af76056
No related branches found
No related tags found
No related merge requests found
......@@ -64,11 +64,13 @@
int nsh_archinitialize(void)
{
#ifndef CONFIG_BOARD_INITIALIZE
#ifdef CONFIG_BOARD_INITIALIZE
/* Board initialization already performed by board_initialize() */
return OK;
#else
/* Perform board-specific initialization */
(void)stm32_bringup();
return stm32_bringup();
#endif
return OK;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment