From 7ebe1a0495a6b32e97ae003f3f429dcf01a3a3e8 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Sat, 16 Jan 2010 17:07:44 +0000 Subject: [PATCH] Still a work in progress. Checking in for backup only. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@959 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/FreeRTOS.h | 2 +- Source/tasks.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index 2216767fb..d7609f365 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -409,7 +409,7 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * ); #endif #ifndef pvPortMallocAligned - #define pvPortMallocAligned( xSize, pvBuffer ) pvPortMalloc( xSize ); ( void ) pvBuffer + #define pvPortMallocAligned( x, puxStackBuffer ) ( ( puxStackBuffer == NULL ) ? ( pvPortMalloc( x ) ) : ( puxStackBuffer ) ) #endif #ifndef vPortFreeAligned diff --git a/Source/tasks.c b/Source/tasks.c index 75816f393..3ca53b104 100644 --- a/Source/tasks.c +++ b/Source/tasks.c @@ -72,8 +72,6 @@ task.h is included from an application file. */ */ #define tskIDLE_STACK_SIZE configMINIMAL_STACK_SIZE -#define tskIDLE_PRIORITY ( ( unsigned portBASE_TYPE ) 0 ) - /* * Task control block. A task control block (TCB) is allocated to each task, * and stores the context of the task. -- 2.39.5