arch/arm/src/samv7: fix missing sam_pendsv
The commit d1a3f5e47f
invalidly removed
`sam_pendsv` instead of `sam_busfault`.
This commit is contained in:
parent
01ec02380d
commit
f0321d6bae
@ -161,11 +161,10 @@ static int sam_nmi(int irq, void *context, void *arg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sam_busfault(int irq, void *context, void *arg)
|
||||
static int sam_pendsv(int irq, void *context, void *arg)
|
||||
{
|
||||
up_irq_save();
|
||||
_err("PANIC!!! Bus fault received: %08" PRIx32 "\n",
|
||||
getreg32(NVIC_CFAULTS));
|
||||
_err("PANIC!!! PendSV received\n");
|
||||
PANIC();
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user