From abbb9fe9df82def433f3fcd2a82b377bfc760919 Mon Sep 17 00:00:00 2001 From: rtel Date: Mon, 30 Dec 2013 08:02:11 +0000 Subject: Remove casting from definition of configMAX_PRIORITIES to allow its use in pre-processor defined conditional compilation. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2151 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h') diff --git a/FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h b/FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h index 7b63d561f..325fdeecd 100644 --- a/FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h @@ -86,7 +86,7 @@ #define configUSE_TICK_HOOK 0 #define configCPU_CLOCK_HZ ( ( unsigned long ) 60000000 ) /* =12.0MHz xtal multiplied by 5 using the PLL. */ #define configTICK_RATE_HZ ( ( portTickType ) 1000 ) -#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) +#define configMAX_PRIORITIES ( 5 ) #define configMINIMAL_STACK_SIZE ( ( unsigned short ) 100 ) #define configTOTAL_HEAP_SIZE ( ( size_t ) 14200 ) #define configMAX_TASK_NAME_LEN ( 16 ) -- cgit v1.2.1