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/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources') diff --git a/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h b/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h index b17b88827..cd2beb44b 100644 --- a/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FreeRTOSConfig.h @@ -112,7 +112,7 @@ before compiling. */ #define configQUEUE_REGISTRY_SIZE 0 #define configUSE_COUNTING_SEMAPHORES 0 -#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 6 ) +#define configMAX_PRIORITIES ( 6 ) #define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) /* Set the following definitions to 1 to include the API function, or zero -- cgit v1.2.1