kernel: event_logger: fixed assert checking for priority
prio is member of base, not k_thread struct. Change-Id: I77de52497e196eb058bf8850e25eabe42cb2ab14 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
ade6dc937f
commit
22a75145ef
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ void _sys_k_event_logger_context_switch(void)
|
|||
}
|
||||
|
||||
#define ASSERT_CURRENT_IS_COOP_THREAD() \
|
||||
__ASSERT(_current->prio < 0, "must be a coop thread")
|
||||
__ASSERT(_current->base.prio < 0, "must be a coop thread")
|
||||
|
||||
void sys_k_event_logger_register_as_collector(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue