hardfault_log:Fix hard fault - while hard fault logging

This commit is contained in:
David Sidrane 2020-10-13 14:10:59 -07:00 committed by Daniel Agar
parent 8d1b99be31
commit de6d31ef3e
1 changed files with 1 additions and 1 deletions

View File

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