ident format
Signed-off-by: visitor83 <root@wolflouis.(none)>
This commit is contained in:
parent
4cdb0154ba
commit
c56fa7c907
@ -117,7 +117,8 @@ void rt_hw_hard_fault_exception(struct exception_stack_frame* context)
|
|||||||
rt_err_t result;
|
rt_err_t result;
|
||||||
|
|
||||||
result = rt_exception_hook(context);
|
result = rt_exception_hook(context);
|
||||||
if (result == RT_EOK) return;
|
if (result == RT_EOK)
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
rt_kprintf("psr: 0x%08x\n", context->psr);
|
rt_kprintf("psr: 0x%08x\n", context->psr);
|
||||||
@ -135,7 +136,8 @@ void rt_hw_hard_fault_exception(struct exception_stack_frame* context)
|
|||||||
list_thread();
|
list_thread();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while (1);
|
while (1)
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user