diff options
author | Richard Barry <ribarry@amazon.com> | 2013-12-30 08:02:11 +0000 |
---|---|---|
committer | Richard Barry <ribarry@amazon.com> | 2013-12-30 08:02:11 +0000 |
commit | f9072e7bac8c93915aa2dee45bb312b681342da2 (patch) | |
tree | 73eb5117c345166ac3624237cb66db3e8812b17d /FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic | |
parent | e4965ca03cdb6809aad10d02bdc83a694b82d8b5 (diff) | |
download | freertos-git-f9072e7bac8c93915aa2dee45bb312b681342da2.tar.gz |
Remove casting from definition of configMAX_PRIORITIES to allow its use in pre-processor defined conditional compilation.
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic')
-rw-r--r-- | FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic/src/FreeRTOSConfig.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic/src/FreeRTOSConfig.h b/FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic/src/FreeRTOSConfig.h index 2a56e9b86..40608b414 100644 --- a/FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic/src/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/CORTEX_M4F_Infineon_XMC4500_GCC_Atollic/src/FreeRTOSConfig.h @@ -95,7 +95,7 @@ extern uint32_t SystemCoreClock; #define configUSE_TICK_HOOK 0
#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 ) ( 40960 ) )
#define configMAX_TASK_NAME_LEN ( 10 )
|