增加rtx5支持,修改字符格式化方式适应更多场合,并对齐代码
This commit is contained in:
@@ -379,8 +379,7 @@ static void print_call_stack(uint32_t sp) {
|
|||||||
|
|
||||||
if (cur_depth) {
|
if (cur_depth) {
|
||||||
call_stack_info[cur_depth * (8 + 1) - 1] = '\0';
|
call_stack_info[cur_depth * (8 + 1) - 1] = '\0';
|
||||||
cmb_println(print_info[PRINT_CALL_STACK_INFO], fw_name, CMB_ELF_FILE_EXTENSION_NAME,
|
cmb_println(print_info[PRINT_CALL_STACK_INFO], fw_name, CMB_ELF_FILE_EXTENSION_NAME, call_stack_info);
|
||||||
call_stack_info);
|
|
||||||
} else {
|
} else {
|
||||||
cmb_println(print_info[PRINT_CALL_STACK_ERR]);
|
cmb_println(print_info[PRINT_CALL_STACK_ERR]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user