Update tos_fault.c

This commit is contained in:
David Lin
2021-09-03 12:13:36 +08:00
committed by GitHub
parent ad41df0717
commit 090018470d

View File

@@ -114,7 +114,7 @@ __STATIC__ void fault_dump_cpu_frame(fault_cpu_frame_t *cpu_frame)
__STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth) __STATIC__ void fault_dump_stack(fault_info_t *info, size_t depth)
{ {
cpu_addr_t sp = info->sp_before_fault;; cpu_addr_t sp = info->sp_before_fault;
k_fault_log_writer("\nTASK STACK DUMP:\n"); k_fault_log_writer("\nTASK STACK DUMP:\n");
while (sp <= info->stack_limit && depth--) { while (sp <= info->stack_limit && depth--) {