summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h
diff options
context:
space:
mode:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-12-30 08:02:11 +0000
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-12-30 08:02:11 +0000
commitabbb9fe9df82def433f3fcd2a82b377bfc760919 (patch)
tree73eb5117c345166ac3624237cb66db3e8812b17d /FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h
parent87c3f11c010e0d7d2877618fdd20ac57413efaa1 (diff)
downloadfreertos-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/NEC_78K0R_IAR/FreeRTOSConfig.h')
-rw-r--r--FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h b/FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h
index 1250ccb2b..984d95ad6 100644
--- a/FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h
+++ b/FreeRTOS/Demo/NEC_78K0R_IAR/FreeRTOSConfig.h
@@ -105,7 +105,7 @@
#define configUSE_IDLE_HOOK 0
#define configUSE_TICK_HOOK 0
#define configTICK_RATE_HZ ( ( portTickType ) 1000 )
- #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 4 )
+ #define configMAX_PRIORITIES ( 4 )
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 100 )
#define configMAX_TASK_NAME_LEN ( 10 )
#define configUSE_TRACE_FACILITY 0