]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/IAR/LPC2000/port.c
Map portTICK_RATE_MS to portTICK_PERIOD_MS.
[freertos] / FreeRTOS / Source / portable / IAR / LPC2000 / port.c
index b60094d1318036af982ec293978523d3607449ba..2003bd2f8a3359c970820edd51569178e3ab279a 100644 (file)
@@ -96,7 +96,7 @@
 \r
 /* Constants required to setup the PIT. */\r
 #define portPIT_CLOCK_DIVISOR                  ( ( uint32_t ) 16 )\r
-#define portPIT_COUNTER_VALUE                  ( ( ( configCPU_CLOCK_HZ / portPIT_CLOCK_DIVISOR ) / 1000UL ) * portTICK_RATE_MS )\r
+#define portPIT_COUNTER_VALUE                  ( ( ( configCPU_CLOCK_HZ / portPIT_CLOCK_DIVISOR ) / 1000UL ) * portTICK_PERIOD_MS )\r
 \r
 /* Constants required to handle interrupts. */\r
 #define portTIMER_MATCH_ISR_BIT                ( ( uint8_t ) 0x01 )\r