Merge branch 'example/console_task_column_name' into 'master'

example(console): print column name for tasks.

See merge request idf/esp-idf!1948
pull/1594/merge
Angus Gratton 2018-02-15 10:51:12 +08:00
commit c3bec5b103
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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