Xtensa port: Replaced call to legacy sys_thread_self_get by one to k_current_get
Change-Id: I341f6bde6f6956c9ce521c4346894ee893b8e9ae Signed-off-by: Mazen NEIFER <mazen@nestwave.com>
This commit is contained in:
parent
8f92bc255c
commit
6fb67ed1ac
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ void _NanoFatalErrorHandler(unsigned int reason, const NANO_ESF *pEsf)
|
||||||
}
|
}
|
||||||
PR_EXC("Current thread ID = 0x%x\n"
|
PR_EXC("Current thread ID = 0x%x\n"
|
||||||
"Faulting instruction address = 0x%x\n",
|
"Faulting instruction address = 0x%x\n",
|
||||||
sys_thread_self_get(),
|
k_current_get(),
|
||||||
pEsf->pc);
|
pEsf->pc);
|
||||||
/*
|
/*
|
||||||
* Now that the error has been reported, call the user implemented
|
* Now that the error has been reported, call the user implemented
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue