adjust output

This commit is contained in:
zy
2023-12-06 05:51:21 -05:00
parent 4ad00b3ff9
commit b490da236e

View File

@@ -175,13 +175,13 @@ void diag_printf_raw_stack(int pid, int ns_pid, const char *comm,
static const char *sys_task_str(int sys_task) {
switch (sys_task) {
case 0:
return "USER TASK";
return "USER_TASK";
case 1:
return "SYSTEM TASK";
return "SYSTEM_TASK";
case 2:
return "IDLE TASK";
return "IDLE_TASK";
default:
return "UNKNOWN TASK";
return "UNKNOWN_TASK";
}
}