arch: arm: fault: fix check on recoverable fault flag
'recoverable' is a value passed by reference and we should be dereferencing the pointer, to check if the fault has been classified as recoverable. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
parent
6815143fcb
commit
b8cd6fe626
1 changed files with 1 additions and 1 deletions
|
@ -692,7 +692,7 @@ static u32_t FaultHandle(z_arch_esf_t *esf, int fault, bool *recoverable)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!recoverable) {
|
if ((*recoverable) == false) {
|
||||||
/* Dump generic information about the fault. */
|
/* Dump generic information about the fault. */
|
||||||
FaultShow(esf, fault);
|
FaultShow(esf, fault);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue