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/CORTEX_M4F_STM32F407ZG-SK/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/CORTEX_M4F_STM32F407ZG-SK/FreeRTOSConfig.h')
-rw-r--r-- | FreeRTOS/Demo/CORTEX_M4F_STM32F407ZG-SK/FreeRTOSConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/CORTEX_M4F_STM32F407ZG-SK/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_M4F_STM32F407ZG-SK/FreeRTOSConfig.h index 36362864e..2c4632b52 100644 --- a/FreeRTOS/Demo/CORTEX_M4F_STM32F407ZG-SK/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/CORTEX_M4F_STM32F407ZG-SK/FreeRTOSConfig.h @@ -90,7 +90,7 @@ #define configUSE_TICK_HOOK 1
#define configCPU_CLOCK_HZ ( SystemCoreClock )
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
-#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
+#define configMAX_PRIORITIES ( 5 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 130 )
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 75 * 1024 ) )
#define configMAX_TASK_NAME_LEN ( 10 )
|