diff options
author | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-12-30 08:02:11 +0000 |
---|---|---|
committer | rtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2> | 2013-12-30 08:02:11 +0000 |
commit | abbb9fe9df82def433f3fcd2a82b377bfc760919 (patch) | |
tree | 73eb5117c345166ac3624237cb66db3e8812b17d /FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h | |
parent | 87c3f11c010e0d7d2877618fdd20ac57413efaa1 (diff) | |
download | freertos-abbb9fe9df82def433f3fcd2a82b377bfc760919.tar.gz |
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
Diffstat (limited to 'FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h')
-rw-r--r-- | FreeRTOS/Demo/ARM7_LPC2129_IAR/FreeRTOSConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 )
|