kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'example/console_task_column_name' into 'master'
example(console): print column name for tasks. See merge request idf/esp-idf!1948pull/1594/merge
commit
c3bec5b103
|
@ -94,6 +94,7 @@ static int tasks_info(int argc, char** argv)
|
|||
ESP_LOGE(__func__, "failed to allocate buffer for vTaskList output");
|
||||
return 1;
|
||||
}
|
||||
fputs("Task Name\tStatus\tPrio\tHWM\tTask Number\n", stdout);
|
||||
vTaskList(task_list_buffer);
|
||||
fputs(task_list_buffer, stdout);
|
||||
free(task_list_buffer);
|
||||
|
|
Ładowanie…
Reference in New Issue