Map portTICK_RATE_MS to portTICK_PERIOD_MS.

This commit is contained in:
Richard Barry 2014-01-05 20:40:55 +00:00
parent a56d4b998c
commit 1aaa80fba6
86 changed files with 114 additions and 113 deletions

View file

@ -100,7 +100,7 @@ typedef unsigned long UBaseType_t;
/* Architecture specifics. */
#define portSTACK_GROWTH (-1)
#define portTICK_RATE_MS ((TickType_t) 1000 / configTICK_RATE_HZ)
#define portTICK_PERIOD_MS ((TickType_t) 1000 / configTICK_RATE_HZ)
#define portBYTE_ALIGNMENT 8
/* Critical section handling. */

View file

@ -159,7 +159,7 @@ extern void vPortYield( void );
/* Hardware specifics. */
#define portBYTE_ALIGNMENT 2
#define portSTACK_GROWTH ( -1 )
#define portTICK_RATE_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
#define portNOP() __no_operation()
/*-----------------------------------------------------------*/