forked from Archive/PX4-Autopilot
hardfault_log:Fix hard fault - while hard fault logging
This commit is contained in:
parent
8d1b99be31
commit
de6d31ef3e
|
@ -257,7 +257,7 @@ static int write_stack_detail(bool inValid, _stack_s *si, char *sp_name,
|
|||
|
||||
#ifdef CONFIG_STACK_COLORATION
|
||||
FAR struct tcb_s tcb;
|
||||
tcb.stack_alloc_ptr = (void *) sbot;
|
||||
tcb.adj_stack_ptr = (void *) sbot;
|
||||
tcb.adj_stack_size = si->size;
|
||||
n = snprintf(buffer, max, " used: %08x\n", up_check_tcbstack(&tcb));
|
||||
|
||||
|
|
Loading…
Reference in New Issue