From 1a08af47bee58a241f735e72591a7e6fe7b89654 Mon Sep 17 00:00:00 2001 From: Kristoffer Richardsson Date: Thu, 10 May 2018 07:26:52 +0200 Subject: [PATCH] Increased memory in task dump. Closes #318 --- src/modules/src/sysload.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/src/sysload.c b/src/modules/src/sysload.c index da2b8c2256..54ae3d29e4 100644 --- a/src/modules/src/sysload.c +++ b/src/modules/src/sysload.c @@ -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; @@ -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);