armv8m/arm_hardfault.c:fix code style.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
842adf888f
commit
3bdba79851
1 changed files with 4 additions and 4 deletions
|
|
@ -182,10 +182,10 @@ int arm_hardfault(int irq, void *context, void *arg)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_DEBUG_HARDFAULT_ALERT
|
||||
if (arm_gen_nonsecurefault(irq, context))
|
||||
{
|
||||
return OK;
|
||||
}
|
||||
if (arm_gen_nonsecurefault(irq, context))
|
||||
{
|
||||
return OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
up_irq_save();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue