From 0009e00a18ac1073c618918160b18555fd6dc965 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sun, 17 Feb 2008 18:24:50 +0000 Subject: [PATCH] Automatically adjust trace buffer size using sizeof(). git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@201 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/MB91460_Softune/SRC/utility/taskutility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo/MB91460_Softune/SRC/utility/taskutility.c b/Demo/MB91460_Softune/SRC/utility/taskutility.c index 3a756ca36..6670a1f76 100644 --- a/Demo/MB91460_Softune/SRC/utility/taskutility.c +++ b/Demo/MB91460_Softune/SRC/utility/taskutility.c @@ -172,7 +172,7 @@ static void vUART5Task( void *pvParameters ) break; case '2': - vTaskStartTrace( (signed char *) buff, 512 ); + vTaskStartTrace( (signed char *) buff, sizeof( buff ) ); Puts5( "\n\rThe trace started!!" ); vTaskDelay( (portTickType) 450 ); trace_len = ulTaskEndTrace(); -- 2.39.5