Skip to content

Commit

Permalink
unified: Fix bug in invocation of init functions
Browse files Browse the repository at this point in the history
Now invokes any microkernel-level init functions used by
legacy applications.

Change-Id: I8f68ddba764f13d037a679b74121713983f4aaba
Signed-off-by: Allan Stephens <[email protected]>
  • Loading branch information
ajstephens authored and benwrs committed Oct 18, 2016
1 parent 61ed9b8 commit 7e6540a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/unified/init.c
Original file line number Diff line number Diff line change
@@ -170,6 +170,7 @@ static void _main(void *unused1, void *unused2, void *unused3)

_sys_device_do_config_level(_SYS_INIT_LEVEL_SECONDARY);
_sys_device_do_config_level(_SYS_INIT_LEVEL_NANOKERNEL);
_sys_device_do_config_level(_SYS_INIT_LEVEL_MICROKERNEL);
_sys_device_do_config_level(_SYS_INIT_LEVEL_APPLICATION);

#ifdef CONFIG_CPLUSPLUS

0 comments on commit 7e6540a

Please sign in to comment.