mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
apps/: Call BOARDIOC_FINALINIT after start-up script (or immediately after BOARIOC_INIT is there is no start-up script).
This commit is contained in:
@@ -317,6 +317,12 @@ int nsh_consolemain(int argc, char *argv[])
|
||||
(void)nsh_initscript(&pstate->cn_vtbl);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BOARDCTL_FINALINIT
|
||||
/* Perform architecture-specific final-initialization (if configured) */
|
||||
|
||||
(void)boardctl(BOARDIOC_FINALINIT, 0);
|
||||
#endif
|
||||
|
||||
/* Now loop, executing creating a session for each USB connection */
|
||||
|
||||
for (;;)
|
||||
|
Reference in New Issue
Block a user