arm: cmsis: Convert _ScbActiveVectorGet to use direct CMSIS register access
Jira: ZEP-1568 Change-Id: Ibbb3f71d7ee42ab62f764d45bd334c7840b3c04d Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
388c26574f
commit
a033a89d76
2 changed files with 1 additions and 16 deletions
|
@ -360,7 +360,7 @@ static void _FaultDump(const NANO_ESF *esf, int fault)
|
|||
*/
|
||||
void _Fault(const NANO_ESF *esf)
|
||||
{
|
||||
int fault = _ScbActiveVectorGet();
|
||||
int fault = SCB->ICSR & SCB_ICSR_VECTACTIVE_Msk;
|
||||
|
||||
FAULT_DUMP(esf, fault);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue