Skip to content

Commit

Permalink
Increased memory in task dump. Closes #318
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed May 10, 2018
1 parent d08b4c6 commit 1a08af4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/src/sysload.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ typedef struct {
uint32_t xTaskNumber;
} taskData_t;

#define TASK_MAX_COUNT 15
#define TASK_MAX_COUNT 16
static taskData_t previousSnapshot[TASK_MAX_COUNT];
static int taskTopIndex = 0;
static uint32_t previousTotalRunTime = 0;
Expand Down Expand Up @@ -97,7 +97,6 @@ static void timerHandler(xTimerHandle timer) {

DEBUG_PRINT("Task dump\n");
DEBUG_PRINT("Load\tStack left\tName\n");
// TODO krri More description
for (uint32_t i = 0; i < taskCount; i++) {
TaskStatus_t* stats = &taskStats[i];
taskData_t* previousTaskData = getPreviousTaskData(stats->xTaskNumber);
Expand Down

0 comments on commit 1a08af4

Please sign in to comment.