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

@ -230,7 +230,7 @@ EventGroupHandle_t xEventGroupCreate( void ) PRIVILEGED_FUNCTION;
void aFunction( EventGroupHandle_t xEventGroup )
{
EventBits_t uxBits;
const TickType_t xTicksToWait = 100 / portTICK_RATE_MS;
const TickType_t xTicksToWait = 100 / portTICK_PERIOD_MS;
// Wait a maximum of 100ms for either bit 0 or bit 4 to be set within
// the event group. Clear the bits before exiting.
@ -545,7 +545,7 @@ EventBits_t xEventGroupSetBits( EventGroupHandle_t xEventGroup, const EventBits_
void vTask0( void *pvParameters )
{
EventBits_t uxReturn;
TickType_t xTicksToWait = 100 / portTICK_RATE_MS;
TickType_t xTicksToWait = 100 / portTICK_PERIOD_MS;
for( ;; )
{