armv8m/arm_hardfault.c:fix code style.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
chenrun1 2023-06-02 13:55:42 +08:00 committed by Xiang Xiao
parent 842adf888f
commit 3bdba79851

View file

@ -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();