Remove casting from definition of configMAX_PRIORITIES to allow its use in pre-processor defined conditional compilation.

This commit is contained in:
Richard Barry 2013-12-30 08:02:11 +00:00
parent e4965ca03c
commit f9072e7bac
120 changed files with 135 additions and 135 deletions

View file

@ -91,7 +91,7 @@
#define configUSE_TICK_HOOK 0
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
#define configCPU_CLOCK_HZ ( ( unsigned long ) SYS_CLK_FREQ )
#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )
#define configMAX_PRIORITIES ( 5 )
#define configMINIMAL_STACK_SIZE ( 1024 )
#define configISR_STACK_SIZE configMINIMAL_STACK_SIZE
#define configTOTAL_HEAP_SIZE ( ( size_t ) 8388608 )