kernel: event_logger: use POST_KERNEL instead of NANOKERNEL
NANOKERNEL is obsolete and this kernel service is still using it causing deperecaton warnings. Move it to POST_KERNEL Change-Id: I17fabd080645f93a8599f4ea25da844e1ec5f4bb Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
1dd4960738
commit
3accae1da6
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ static int _sys_k_event_logger_init(struct device *arg)
|
|||
return 0;
|
||||
}
|
||||
SYS_INIT(_sys_k_event_logger_init,
|
||||
NANOKERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
|
||||
|
||||
#ifdef CONFIG_KERNEL_EVENT_LOGGER_CUSTOM_TIMESTAMP
|
||||
sys_k_timer_func timer_func;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue